« blib/lib/Paws/IoTSiteWise/AssetModelCompositeModelDefinition.pm
↑ Summary
blib/lib/Paws/IoTSiteWise/AssetModelHierarchyDefinition.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::IoTSiteWise::AssetModelHierarchy; | ||
| 3 | use Moose; | ||
| 4 | has ChildAssetModelId => (is => 'ro', isa => 'Str', request_name => 'childAssetModelId', traits => ['NameInRequest'], required => 1); | ||
| 5 | has Id => (is => 'ro', isa => 'Str', request_name => 'id', traits => ['NameInRequest']); | ||
| 6 | has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::IoTSiteWise::AssetModelHierarchy | ||
| 15 | |||
| 16 | =head1 USAGE | ||
| 17 | |||
| 18 | This class represents one of two things: | ||
| 19 | |||
| 20 | =head3 Arguments in a call to a service | ||
| 21 | |||
| 22 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 23 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 24 | |||
| 25 | As an example, if Att1 is expected to be a Paws::IoTSiteWise::AssetModelHierarchy object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { ChildAssetModelId => $value, ..., Name => $value }); | ||
| 28 | |||
| 29 | =head3 Results returned from an API call | ||
| 30 | |||
| 31 | Use accessors for each attribute. If Att1 is expected to be an Paws::IoTSiteWise::AssetModelHierarchy object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->ChildAssetModelId | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | Describes an asset hierarchy that contains a hierarchy's name, ID, and | ||
| 39 | child asset model ID that specifies the type of asset that can be in | ||
| 40 | this hierarchy. | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 B<REQUIRED> ChildAssetModelId => Str | ||
| 46 | |||
| 47 | The ID of the asset model. All assets in this hierarchy must be | ||
| 48 | instances of the C<childAssetModelId> asset model. | ||
| 49 | |||
| 50 | |||
| 51 | =head2 Id => Str | ||
| 52 | |||
| 53 | The ID of the asset model hierarchy. This ID is a C<hierarchyId>. | ||
| 54 | |||
| 55 | |||
| 56 | =head2 B<REQUIRED> Name => Str | ||
| 57 | |||
| 58 | The name of the asset model hierarchy that you specify by using the | ||
| 59 | CreateAssetModel | ||
| 60 | (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateAssetModel.html) | ||
| 61 | or UpdateAssetModel | ||
| 62 | (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetModel.html) | ||
| 63 | API operation. | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head1 SEE ALSO | ||
| 68 | |||
| 69 | This class forms part of L<Paws>, describing an object used in L<Paws::IoTSiteWise> | ||
| 70 | |||
| 71 | =head1 BUGS and CONTRIBUTIONS | ||
| 72 | |||
| 73 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 74 | |||
| 75 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 76 | |||
| 77 | =cut | ||
| 78 |