« blib/lib/Paws/IoTSiteWise/AssetModelCompositeModel.pm
↑ Summary
blib/lib/Paws/IoTSiteWise/AssetModelHierarchy.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::IoTSiteWise::AssetModelCompositeModelDefinition; | ||
| 3 | use Moose; | ||
| 4 | has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']); | ||
| 5 | has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1); | ||
| 6 | has Properties => (is => 'ro', isa => 'ArrayRef[Paws::IoTSiteWise::AssetModelPropertyDefinition]', request_name => 'properties', traits => ['NameInRequest']); | ||
| 7 | has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest'], required => 1); | ||
| 8 | |||
| 9 | 1; | ||
| 10 | |||
| 11 | ### main pod documentation begin ### | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Paws::IoTSiteWise::AssetModelCompositeModelDefinition | ||
| 16 | |||
| 17 | =head1 USAGE | ||
| 18 | |||
| 19 | This class represents one of two things: | ||
| 20 | |||
| 21 | =head3 Arguments in a call to a service | ||
| 22 | |||
| 23 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 24 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 25 | |||
| 26 | As an example, if Att1 is expected to be a Paws::IoTSiteWise::AssetModelCompositeModelDefinition object: | ||
| 27 | |||
| 28 | $service_obj->Method(Att1 => { Description => $value, ..., Type => $value }); | ||
| 29 | |||
| 30 | =head3 Results returned from an API call | ||
| 31 | |||
| 32 | Use accessors for each attribute. If Att1 is expected to be an Paws::IoTSiteWise::AssetModelCompositeModelDefinition object: | ||
| 33 | |||
| 34 | $result = $service_obj->Method(...); | ||
| 35 | $result->Att1->Description | ||
| 36 | |||
| 37 | =head1 DESCRIPTION | ||
| 38 | |||
| 39 | Contains a composite model definition in an asset model. This composite | ||
| 40 | model definition is applied to all assets created from the asset model. | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 Description => Str | ||
| 46 | |||
| 47 | The description of the composite model. | ||
| 48 | |||
| 49 | |||
| 50 | =head2 B<REQUIRED> Name => Str | ||
| 51 | |||
| 52 | The name of the composite model. | ||
| 53 | |||
| 54 | |||
| 55 | =head2 Properties => ArrayRef[L<Paws::IoTSiteWise::AssetModelPropertyDefinition>] | ||
| 56 | |||
| 57 | The asset property definitions for this composite model. | ||
| 58 | |||
| 59 | |||
| 60 | =head2 B<REQUIRED> Type => Str | ||
| 61 | |||
| 62 | The type of the composite model. For alarm composite models, this type | ||
| 63 | is C<AWS/ALARM>. | ||
| 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 |