« blib/lib/Paws/ApiGatewayV2/CreateModel.pm
↑ Summary
blib/lib/Paws/ApiGatewayV2/CreateModelResponse.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::ApiGatewayV2::CreateModelInput; | ||
| 3 | use Moose; | ||
| 4 | has ContentType => (is => 'ro', isa => 'Str', request_name => 'contentType', traits => ['NameInRequest']); | ||
| 5 | has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']); | ||
| 6 | has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1); | ||
| 7 | has Schema => (is => 'ro', isa => 'Str', request_name => 'schema', traits => ['NameInRequest'], required => 1); | ||
| 8 | |||
| 9 | 1; | ||
| 10 | |||
| 11 | ### main pod documentation begin ### | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Paws::ApiGatewayV2::CreateModelInput | ||
| 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::ApiGatewayV2::CreateModelInput object: | ||
| 27 | |||
| 28 | $service_obj->Method(Att1 => { ContentType => $value, ..., Schema => $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::ApiGatewayV2::CreateModelInput object: | ||
| 33 | |||
| 34 | $result = $service_obj->Method(...); | ||
| 35 | $result->Att1->ContentType | ||
| 36 | |||
| 37 | =head1 DESCRIPTION | ||
| 38 | |||
| 39 | Represents the input parameters for a CreateModel request. | ||
| 40 | |||
| 41 | =head1 ATTRIBUTES | ||
| 42 | |||
| 43 | |||
| 44 | =head2 ContentType => Str | ||
| 45 | |||
| 46 | The content-type for the model, for example, "application/json". | ||
| 47 | |||
| 48 | |||
| 49 | =head2 Description => Str | ||
| 50 | |||
| 51 | The description of the model. | ||
| 52 | |||
| 53 | |||
| 54 | =head2 B<REQUIRED> Name => Str | ||
| 55 | |||
| 56 | The name of the model. Must be alphanumeric. | ||
| 57 | |||
| 58 | |||
| 59 | =head2 B<REQUIRED> Schema => Str | ||
| 60 | |||
| 61 | The schema for the model. For application/json models, this should be | ||
| 62 | JSON schema draft 4 model. | ||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | =head1 SEE ALSO | ||
| 67 | |||
| 68 | This class forms part of L<Paws>, describing an object used in L<Paws::ApiGatewayV2> | ||
| 69 | |||
| 70 | =head1 BUGS and CONTRIBUTIONS | ||
| 71 | |||
| 72 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 73 | |||
| 74 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 75 | |||
| 76 | =cut | ||
| 77 |