C# 클래스 ServiceClientGenerator.CustomizationsModel

A model used to represent different types of customizations for generating a service
파일 보기 프로젝트 열기: aws/aws-sdk-net 1 사용 예제들

공개 메소드들

메소드 설명
CreateNoArgOverload ( string operationName ) : bool

Determines if the operation has a customization for creating a no argument method

CustomizationsModel ( TextReader reader ) : Json.LitJson

Creates a customization model used to get customizations for a service

CustomizationsModel ( string modelPath ) : Json.LitJson

Creates a customization model used to get customizations for a service

EmitIsSetProperties ( string shapeName, string propertyName ) : bool

Determines if the collection property can be empty when being sent to the service.

GetDeprecationMessage ( string operationName ) : string
GetExamples ( string operationName ) : JsonData
GetOperationModifiers ( string operationName ) : OperationModifiers
GetOverrideShapeName ( string originalShapeName ) : string
GetPropertyModifier ( string shapeName, string propertyName ) : PropertyModifier

Gets the property modifier for a property in a shape (can be global) if so customized.

GetShapeModifier ( string shapeName ) : ShapeModifier
GetSubstituteShapeData ( string originalShapeName ) : JsonData

Returns the substitution entry for a shape

GetSubstituteShapeName ( string originalShapeName ) : string

Returns the name of the shape that should be used instead of the supplied shape

Initialize ( TextReader reader ) : void

Sets the document root by parsing the json text

IsExcludedProperty ( string propertyName, string shapeName = null ) : bool

Returns true if the specified property name is excluded at global or per-shape scope.

IsSubstitutedShape ( string originalShapeName ) : bool

Determines if the shape should be substituted with another

OverrideDataType ( string shapeName, string propertyName ) : DataTypeOverride

Gets any customizations for a new data type to be used on a property

UseNullable ( string shapeName, string propertyName ) : bool

Determines if the property has a customization to be set to nullable

비공개 메소드들

메소드 설명
GetRemappedShapeName ( string originalShapeName, string key ) : string
ParseExclusions ( ShapeModifier shapeModifier, JsonData data ) : void
ParseInjections ( ShapeModifier shapeModifier, JsonData data ) : void
ParseModifiers ( ShapeModifier shapeModifier, JsonData data ) : void

메소드 상세

CreateNoArgOverload() 공개 메소드

Determines if the operation has a customization for creating a no argument method
public CreateNoArgOverload ( string operationName ) : bool
operationName string The name of the operation to check for
리턴 bool

CustomizationsModel() 공개 메소드

Creates a customization model used to get customizations for a service
public CustomizationsModel ( TextReader reader ) : Json.LitJson
reader TextReader Reader to get the json text from
리턴 Json.LitJson

CustomizationsModel() 공개 메소드

Creates a customization model used to get customizations for a service
public CustomizationsModel ( string modelPath ) : Json.LitJson
modelPath string Path to the file to read the customizations from
리턴 Json.LitJson

EmitIsSetProperties() 공개 메소드

Determines if the collection property can be empty when being sent to the service.
public EmitIsSetProperties ( string shapeName, string propertyName ) : bool
shapeName string The name of the shape the property is in
propertyName string The name of the property
리턴 bool

GetDeprecationMessage() 공개 메소드

public GetDeprecationMessage ( string operationName ) : string
operationName string
리턴 string

GetExamples() 공개 메소드

public GetExamples ( string operationName ) : JsonData
operationName string
리턴 JsonData

GetOperationModifiers() 공개 메소드

public GetOperationModifiers ( string operationName ) : OperationModifiers
operationName string
리턴 OperationModifiers

GetOverrideShapeName() 공개 메소드

public GetOverrideShapeName ( string originalShapeName ) : string
originalShapeName string
리턴 string

GetPropertyModifier() 공개 메소드

Gets the property modifier for a property in a shape (can be global) if so customized.
public GetPropertyModifier ( string shapeName, string propertyName ) : PropertyModifier
shapeName string The name of the shape containing the property
propertyName string The property name to look for
리턴 PropertyModifier

GetShapeModifier() 공개 메소드

public GetShapeModifier ( string shapeName ) : ShapeModifier
shapeName string
리턴 ShapeModifier

GetSubstituteShapeData() 공개 메소드

Returns the substitution entry for a shape
public GetSubstituteShapeData ( string originalShapeName ) : JsonData
originalShapeName string
리턴 JsonData

GetSubstituteShapeName() 공개 메소드

Returns the name of the shape that should be used instead of the supplied shape
public GetSubstituteShapeName ( string originalShapeName ) : string
originalShapeName string The shape to have its name changed
리턴 string

Initialize() 공개 메소드

Sets the document root by parsing the json text
public Initialize ( TextReader reader ) : void
reader TextReader The reader to get json text from
리턴 void

IsExcludedProperty() 공개 메소드

Returns true if the specified property name is excluded at global or per-shape scope.
public IsExcludedProperty ( string propertyName, string shapeName = null ) : bool
propertyName string
shapeName string
리턴 bool

IsSubstitutedShape() 공개 메소드

Determines if the shape should be substituted with another
public IsSubstitutedShape ( string originalShapeName ) : bool
originalShapeName string The original shape
리턴 bool

OverrideDataType() 공개 메소드

Gets any customizations for a new data type to be used on a property
public OverrideDataType ( string shapeName, string propertyName ) : DataTypeOverride
shapeName string The name of the shape the property is defined within
propertyName string The name of the property to check
리턴 DataTypeOverride

UseNullable() 공개 메소드

Determines if the property has a customization to be set to nullable
public UseNullable ( string shapeName, string propertyName ) : bool
shapeName string The name of the shape the property is in
propertyName string The name of the property
리턴 bool