C# 클래스 ServiceClientGenerator.Shape

Shapes are used to model structures and member types. If they are a structure the shape defines what members it has and what shape those members are. It also defines which of those members are required. If it is not a structure then it is used to specify the type of the member and its properties.
상속: BaseModel
파일 보기 프로젝트 열기: aws/aws-sdk-net 1 사용 예제들

공개 메소드들

메소드 설명
Equals ( object obj ) : bool

Checks if an object is a Shape and has the same name as this shape

GetHashCode ( ) : int

The hashcode of the shape is the hashcode of the name

GetPrimitiveType ( ) : string
Shape ( ServiceModel model, string name, JsonData data ) : Json.LitJson

Creates a shape with a reference to the model it's a part of, its name, and the json data of the shape pulled from the model. Shapes are used to model structures and member types. If they are a structure the shape defines what members it has and what shape those members are. It also defines which of those members are required. If it is not a structure then it is used to specify the type of the member and its properties.

ToString ( ) : string

String representation of the shape found by the name

비공개 메소드들

메소드 설명
LookupListShapeName ( bool allowSubstitution ) : string

Returns the name of a shape declared to be used by a list type, optionally allowing for substitution.

메소드 상세

Equals() 공개 메소드

Checks if an object is a Shape and has the same name as this shape
public Equals ( object obj ) : bool
obj object The object to compare to
리턴 bool

GetHashCode() 공개 메소드

The hashcode of the shape is the hashcode of the name
public GetHashCode ( ) : int
리턴 int

GetPrimitiveType() 공개 메소드

public GetPrimitiveType ( ) : string
리턴 string

Shape() 공개 메소드

Creates a shape with a reference to the model it's a part of, its name, and the json data of the shape pulled from the model. Shapes are used to model structures and member types. If they are a structure the shape defines what members it has and what shape those members are. It also defines which of those members are required. If it is not a structure then it is used to specify the type of the member and its properties.
public Shape ( ServiceModel model, string name, JsonData data ) : Json.LitJson
model ServiceModel The model that contains the shape
name string The name of the shape
data JsonData The json object of the shape, pulled form the model json
리턴 Json.LitJson

ToString() 공개 메소드

String representation of the shape found by the name
public ToString ( ) : string
리턴 string