Documentation ¶
Index ¶
- type ApiResourceAdded
- type ApiResourceRemoved
- type ApiVersionAdded
- type ApiVersionRemoved
- type Change
- type CommonTypesApiVersionAdded
- type CommonTypesApiVersionRemoved
- type CommonTypesConstantAdded
- type CommonTypesConstantKeyValueAdded
- type CommonTypesConstantKeyValueChanged
- type CommonTypesConstantKeyValueRemoved
- type CommonTypesConstantRemoved
- type CommonTypesConstantTypeChanged
- type CommonTypesModelAdded
- type CommonTypesModelRemoved
- type ConstantAdded
- type ConstantKeyValueAdded
- type ConstantKeyValueChanged
- type ConstantKeyValueRemoved
- type ConstantRemoved
- type ConstantTypeChanged
- type FieldAdded
- type FieldIsNowOptional
- type FieldIsNowRequired
- type FieldJsonNameChanged
- type FieldObjectDefinitionChanged
- type FieldRemoved
- type ModelAdded
- type ModelDiscriminatedParentTypeAdded
- type ModelDiscriminatedParentTypeChanged
- type ModelDiscriminatedParentTypeRemoved
- type ModelDiscriminatedTypeHintInChanged
- type ModelDiscriminatedTypeValueChanged
- type ModelRemoved
- type OperationAdded
- type OperationContentTypeChanged
- type OperationExpectedStatusCodesChanged
- type OperationLongRunningAdded
- type OperationLongRunningRemoved
- type OperationMethodChanged
- type OperationOptionsAdded
- type OperationOptionsChanged
- type OperationOptionsRemoved
- type OperationPaginationFieldChanged
- type OperationRemoved
- type OperationRequestObjectAdded
- type OperationRequestObjectChanged
- type OperationRequestObjectRemoved
- type OperationResourceIdAdded
- type OperationResourceIdChanged
- type OperationResourceIdRemoved
- type OperationResourceIdRenamed
- type OperationResponseObjectAdded
- type OperationResponseObjectChanged
- type OperationResponseObjectRemoved
- type OperationUriSuffixAdded
- type OperationUriSuffixChanged
- type OperationUriSuffixRemoved
- type ResourceIdAdded
- type ResourceIdCommonIdAdded
- type ResourceIdCommonIdChanged
- type ResourceIdCommonIdRemoved
- type ResourceIdRemoved
- type ResourceIdSegmentChangedValue
- type ResourceIdSegmentsChangedLength
- type ServiceAdded
- type ServiceRemoved
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiResourceAdded ¶
type ApiResourceAdded struct { // ServiceName specifies the name of the Service which contains this API Resource. ServiceName string // ApiVersion specifies the name of the API Version which contains this API Resource. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Resource. ResourceName string }
ApiResourceAdded defines information about an API Resource that has been added.
func (ApiResourceAdded) IsBreaking ¶
func (ApiResourceAdded) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type ApiResourceRemoved ¶
type ApiResourceRemoved struct { // ServiceName specifies the name of the Service which contained this API Resource. ServiceName string // ApiVersion specifies the name of the API Version which contained this API Resource. ApiVersion string // ResourceName specifies the name of the API Resource which contained this Resource. ResourceName string }
ApiResourceRemoved defines information about an API Resource which has been removed.
func (ApiResourceRemoved) IsBreaking ¶
func (ApiResourceRemoved) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type ApiVersionAdded ¶
type ApiVersionAdded struct { // ServiceName specifies the name of this Service (e.g. `Compute`). ServiceName string // ApiVersion specifies the API Version (e.g. `2023-01-01-preview`). ApiVersion string }
ApiVersionAdded defines information about a new API Version for an existing Service.
func (ApiVersionAdded) IsBreaking ¶
func (ApiVersionAdded) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type ApiVersionRemoved ¶
type ApiVersionRemoved struct { // ServiceName specifies the name of this Service (e.g. `Compute`). ServiceName string // ApiVersion specifies the API Version (e.g. `2023-01-01-preview`). ApiVersion string }
ApiVersionRemoved defines information about an API Version which was previously supported for an existing Service but is no longer present.
func (ApiVersionRemoved) IsBreaking ¶
func (ApiVersionRemoved) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type Change ¶
type Change interface { // IsBreaking returns whether this Change is considered a Breaking Change. IsBreaking() bool }
Change defines the type of Change between one set of API Definitions and another. Each implementation of Change contains additional information about the change for example, ConstantKeyValueAdded / ResourceIdRemoved which is useful elsewhere.
type CommonTypesApiVersionAdded ¶
type CommonTypesApiVersionAdded struct { // ApiVersion specifies the API Version (e.g. `2023-01-01-preview`) for which CommonTypes have been added. ApiVersion string }
CommonTypesApiVersionAdded defines information about a new API Version for CommonTypes.
func (CommonTypesApiVersionAdded) IsBreaking ¶
func (CommonTypesApiVersionAdded) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type CommonTypesApiVersionRemoved ¶
type CommonTypesApiVersionRemoved struct { // ApiVersion specifies the API Version (e.g. `2023-01-01-preview`) for which CommonTypes have been removed. ApiVersion string }
CommonTypesApiVersionRemoved defines information about a new API Version for CommonTypes.
func (CommonTypesApiVersionRemoved) IsBreaking ¶
func (CommonTypesApiVersionRemoved) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type CommonTypesConstantAdded ¶
type CommonTypesConstantAdded struct { // ApiVersion specifies the name of the CommonTypes API Version which contains this Constant. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Constant. ResourceName string // ConstantName specifies the name of the Constant which has been added. ConstantName string // ConstantType specifies the type of Constant (e.g. Int/String) that this is. ConstantType string // KeysAndValues specifies the Keys and Values for the Constant which has been added. KeysAndValues map[string]string }
CommonTypesConstantAdded defines information about a new CommonTypes Constant.
func (CommonTypesConstantAdded) IsBreaking ¶
func (CommonTypesConstantAdded) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type CommonTypesConstantKeyValueAdded ¶
type CommonTypesConstantKeyValueAdded struct { // ApiVersion specifies the name of the API Version which contains this CommonTypes Constant. ApiVersion string // ConstantName specifies the name of the Constant which has been updated. ConstantName string // ConstantKey specifies the key for this new Constant Key/Value. ConstantKey string // ConstantValue specifies the value for this new Constant Key/Value. ConstantValue string }
CommonTypesConstantKeyValueAdded specifies when a new Key/Value combination is added to an existing CommonTypes Constant.
func (CommonTypesConstantKeyValueAdded) IsBreaking ¶
func (CommonTypesConstantKeyValueAdded) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type CommonTypesConstantKeyValueChanged ¶
type CommonTypesConstantKeyValueChanged struct { // ApiVersion specifies the name of the API Version which contains this CommonTypes Constant. ApiVersion string // ConstantName specifies the name of the Constant which has an updated value. ConstantName string // ConstantKey specifies the key within the Constant which has changed. ConstantKey string // OldConstantValue specifies the old Value for this Constant Key. OldConstantValue string // NewConstantValue specifies the new/updated Value for this Constant Key. NewConstantValue string }
CommonTypesConstantKeyValueChanged specifies when Constant Key has a new Value
func (CommonTypesConstantKeyValueChanged) IsBreaking ¶
func (CommonTypesConstantKeyValueChanged) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type CommonTypesConstantKeyValueRemoved ¶
type CommonTypesConstantKeyValueRemoved struct { // ApiVersion specifies the name of the API Version which contains this CommonTypes Constant. ApiVersion string // ConstantName specifies the name of the Constant which has been updated. ConstantName string // ConstantKey specifies the key for the Constant Key/Value which has been removed. ConstantKey string // ConstantValue specifies the value for the Constant Key/Value which has been removed ConstantValue string }
CommonTypesConstantKeyValueRemoved specifies when a Key/Value combination is removed to an existing Constant.
func (CommonTypesConstantKeyValueRemoved) IsBreaking ¶
func (CommonTypesConstantKeyValueRemoved) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type CommonTypesConstantRemoved ¶
type CommonTypesConstantRemoved struct { // ApiVersion specifies the name of the CommonTypes API Version which contains this Constant. ApiVersion string // ConstantName specifies the name of the Constant which has been removed. ConstantName string // ConstantType specifies the type of Constant (e.g. Int/String) that this is. ConstantType string // KeysAndValues specifies the Keys and Values for the Constant which has been removed. KeysAndValues map[string]string }
CommonTypesConstantRemoved defines information about a new CommonTypes Constant.
func (CommonTypesConstantRemoved) IsBreaking ¶
func (CommonTypesConstantRemoved) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type CommonTypesConstantTypeChanged ¶
type CommonTypesConstantTypeChanged struct { // ApiVersion specifies the name of the API Version which contains this CommonTypes Constant. ApiVersion string // ConstantName specifies the name of the Constant which has changed. ConstantName string // OldType specifies the old type value for this Constant OldType string // NewType specifies the new/updated type value for this Constant NewType string }
CommonTypesConstantTypeChanged specifies when a CommonTypes Constant has changed Type (e.g. `int` -> `string`)
func (CommonTypesConstantTypeChanged) IsBreaking ¶
func (c CommonTypesConstantTypeChanged) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type CommonTypesModelAdded ¶
type CommonTypesModelAdded struct { // ApiVersion specifies the name of the CommonTypes API Version which contains this Model. ApiVersion string // ModelName specifies the name of the Model which has been added. ModelName string }
CommonTypesModelAdded defines information about a new CommonTypes Model.
func (CommonTypesModelAdded) IsBreaking ¶
func (CommonTypesModelAdded) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type CommonTypesModelRemoved ¶
type CommonTypesModelRemoved struct { // ApiVersion specifies the name of the CommonTypes API Version which contained this Model. ApiVersion string // ModelName specifies the name of the Model which has been removed. ModelName string }
CommonTypesModelRemoved defines information about a CommonTypes Model which has been Removed.
func (CommonTypesModelRemoved) IsBreaking ¶
func (CommonTypesModelRemoved) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type ConstantAdded ¶
type ConstantAdded struct { // ServiceName specifies the name of the Service which contains this Constant. ServiceName string // ApiVersion specifies the name of the API Version which contains this Constant. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Constant. ResourceName string // ConstantName specifies the name of the Constant which has been added. ConstantName string // ConstantType specifies the type of Constant (e.g. Int/String) that this is. ConstantType string // KeysAndValues specifies the Keys and Values for the Constant which has been added. KeysAndValues map[string]string }
ConstantAdded defines information about a new Constant.
func (ConstantAdded) IsBreaking ¶
func (ConstantAdded) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type ConstantKeyValueAdded ¶
type ConstantKeyValueAdded struct { // ServiceName specifies the name of the Service which contains this Constant. ServiceName string // ApiVersion specifies the name of the API Version which contains this Constant. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Constant. ResourceName string // ConstantName specifies the name of the Constant which has been updated. ConstantName string // ConstantKey specifies the key for this new Constant Key/Value. ConstantKey string // ConstantValue specifies the value for this new Constant Key/Value. ConstantValue string }
ConstantKeyValueAdded specifies when a new Key/Value combination is added to an existing Constant.
func (ConstantKeyValueAdded) IsBreaking ¶
func (ConstantKeyValueAdded) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type ConstantKeyValueChanged ¶
type ConstantKeyValueChanged struct { // ServiceName specifies the name of the Service which contains this Constant. ServiceName string // ApiVersion specifies the name of the API Version which contains this Constant. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Constant. ResourceName string // ConstantName specifies the name of the Constant which has an updated value. ConstantName string // ConstantKey specifies the key within the Constant which has changed. ConstantKey string // OldConstantValue specifies the old Value for this Constant Key. OldConstantValue string // NewConstantValue specifies the new/updated Value for this Constant Key. NewConstantValue string }
ConstantKeyValueChanged specifies when Constant Key has a new Value
func (ConstantKeyValueChanged) IsBreaking ¶
func (ConstantKeyValueChanged) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type ConstantKeyValueRemoved ¶
type ConstantKeyValueRemoved struct { // ServiceName specifies the name of the Service which contains this Constant. ServiceName string // ApiVersion specifies the name of the API Version which contains this Constant. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Constant. ResourceName string // ConstantName specifies the name of the Constant which has been updated. ConstantName string // ConstantKey specifies the key for the Constant Key/Value which has been removed. ConstantKey string // ConstantValue specifies the value for the Constant Key/Value which has been removed ConstantValue string }
ConstantKeyValueRemoved specifies when a Key/Value combination is removed to an existing Constant.
func (ConstantKeyValueRemoved) IsBreaking ¶
func (ConstantKeyValueRemoved) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type ConstantRemoved ¶
type ConstantRemoved struct { // ServiceName specifies the name of the Service which contained this Constant. ServiceName string // ApiVersion specifies the name of the API Version which contained this Constant. ApiVersion string // ResourceName specifies the name of the API Resource which contained this Constant. ResourceName string // ConstantName specifies the name of the Constant which has been removed. ConstantName string // ConstantType specifies the type of Constant (e.g. Int/String) that this is. ConstantType string // KeysAndValues specifies the Keys and Values for the Constant which has been removed. KeysAndValues map[string]string }
ConstantRemoved defines information about a Constant which has been removed.
func (ConstantRemoved) IsBreaking ¶
func (ConstantRemoved) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type ConstantTypeChanged ¶
type ConstantTypeChanged struct { // ServiceName specifies the name of the Service which contains this Constant. ServiceName string // ApiVersion specifies the name of the API Version which contains this Constant. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Constant. ResourceName string // ConstantName specifies the name of the Constant which has changed. ConstantName string // OldType specifies the old type value for this Constant OldType string // NewType specifies the new/updated type value for this Constant NewType string }
ConstantTypeChanged specifies when a Constant has changed Type (e.g. `int` -> `string`)
func (ConstantTypeChanged) IsBreaking ¶
func (c ConstantTypeChanged) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type FieldAdded ¶
type FieldAdded struct { // ServiceName specifies the name of the Service which contains this Field. ServiceName string // ApiVersion specifies the name of the API Version which contains this Field. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Field. ResourceName string // ModelName specifies the name of the Model which contains this Field. ModelName string // FieldName specifies the name of the Field which has been added. FieldName string }
FieldAdded defines information about a new Field.
func (FieldAdded) IsBreaking ¶
func (FieldAdded) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type FieldIsNowOptional ¶
type FieldIsNowOptional struct { // ServiceName specifies the name of the Service which contains this Field. ServiceName string // ApiVersion specifies the name of the API Version which contains this Field. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Field. ResourceName string // ModelName specifies the name of the Model which contains this Field. ModelName string // FieldName specifies the name of the Field which is now Optional. FieldName string }
FieldIsNowOptional defines a change where an existing Field in an existing Model has become Optional.
func (FieldIsNowOptional) IsBreaking ¶
func (FieldIsNowOptional) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type FieldIsNowRequired ¶
type FieldIsNowRequired struct { // ServiceName specifies the name of the Service which contains this Field. ServiceName string // ApiVersion specifies the name of the API Version which contains this Field. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Field. ResourceName string // ModelName specifies the name of the Model which contains this Field. ModelName string // FieldName specifies the name of the Field which is now Required. FieldName string }
FieldIsNowRequired defines a change where an existing Field in an existing Model has become Required.
func (FieldIsNowRequired) IsBreaking ¶
func (FieldIsNowRequired) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type FieldJsonNameChanged ¶
type FieldJsonNameChanged struct { // ServiceName specifies the name of the Service which contains this Field. ServiceName string // ApiVersion specifies the name of the API Version which contains this Field. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Field. ResourceName string // ModelName specifies the name of the Model which contains this Field. ModelName string // FieldName specifies the name of the Field which has an updated JsonName. FieldName string // OldValue specifies the old/existing JsonName for this Field. OldValue string // NewValue specifies the new/updated JsonName for this Field. NewValue string }
FieldJsonNameChanged defines when the JsonName for an existing Field within an existing Model changes - indicating this field represents a different field in the API Request/Response.
func (FieldJsonNameChanged) IsBreaking ¶
func (FieldJsonNameChanged) IsBreaking() bool
type FieldObjectDefinitionChanged ¶
type FieldObjectDefinitionChanged struct { // ServiceName specifies the name of the Service which contains this Field. ServiceName string // ApiVersion specifies the name of the API Version which contains this Field. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Field. ResourceName string // ModelName specifies the name of the Model which contains this Field. ModelName string // FieldName specifies the name of the Field which has an updated Object Definition. FieldName string // OldValue specifies the old/existing ObjectDefinition for this Field. OldValue string // NewValue specifies the new/updated ObjectDefinition for this Field. NewValue string }
FieldObjectDefinitionChanged defines when an existing Field within an existing Model gets an updated ObjectDefinition (e.g. a String becomes a Constant).
func (FieldObjectDefinitionChanged) IsBreaking ¶
func (FieldObjectDefinitionChanged) IsBreaking() bool
type FieldRemoved ¶
type FieldRemoved struct { // ServiceName specifies the name of the Service which contained this Field. ServiceName string // ApiVersion specifies the name of the API Version which contained this Field. ApiVersion string // ResourceName specifies the name of the API Resource which contained this Field. ResourceName string // ModelName specifies the name of the Model which contained this Field. ModelName string // FieldName specifies the name of the Field which has been removed. FieldName string }
FieldRemoved defines information about a Field which has been removed.
func (FieldRemoved) IsBreaking ¶
func (FieldRemoved) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type ModelAdded ¶
type ModelAdded struct { // ServiceName specifies the name of the Service which contains this Model. ServiceName string // ApiVersion specifies the name of the API Version which contains this Model. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Model. ResourceName string // ModelName specifies the name of the Model which has been added. ModelName string }
ModelAdded defines information about a new Model.
func (ModelAdded) IsBreaking ¶
func (ModelAdded) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type ModelDiscriminatedParentTypeAdded ¶
type ModelDiscriminatedParentTypeAdded struct { // ServiceName specifies the name of the Service which contains this Model. ServiceName string // ApiVersion specifies the name of the API Version which contains this Model. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Model. ResourceName string // ModelName specifies the name of the Model which has become a Discriminated // Implementation. ModelName string // NewParentModelName specifies the name of the Parent Model that this Model is an // Implementation of. NewParentModelName string }
ModelDiscriminatedParentTypeAdded defines that an existing Model is now a Discriminated Implementation of another Parent Type.
func (ModelDiscriminatedParentTypeAdded) IsBreaking ¶
func (ModelDiscriminatedParentTypeAdded) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type ModelDiscriminatedParentTypeChanged ¶
type ModelDiscriminatedParentTypeChanged struct { // ServiceName specifies the name of the Service which contains this Model. ServiceName string // ApiVersion specifies the name of the API Version which contains this Model. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Model. ResourceName string // ModelName specifies the name of the Model which has become a Discriminated // Implementation. ModelName string // OldParentModelName specifies the name of the old Parent Model for this Model. OldParentModelName string // NewParentModelName specifies the name of the new Parent Model for this Model. NewParentModelName string }
ModelDiscriminatedParentTypeChanged defines that the Parent Model Name for this Discriminated Type has changed.
func (ModelDiscriminatedParentTypeChanged) IsBreaking ¶
func (ModelDiscriminatedParentTypeChanged) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type ModelDiscriminatedParentTypeRemoved ¶
type ModelDiscriminatedParentTypeRemoved struct { // ServiceName specifies the name of the Service which contains this Model. ServiceName string // ApiVersion specifies the name of the API Version which contains this Model. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Model. ResourceName string // ModelName specifies the name of the Model which has become a Discriminated // Implementation. ModelName string // OldParentModelName specifies the name of the Parent Model that this Model was an // Implementation of. OldParentModelName string }
ModelDiscriminatedParentTypeRemoved defines that an existing Model was a Discriminated Type (i.e. had a Parent Type) but no longer does.
func (ModelDiscriminatedParentTypeRemoved) IsBreaking ¶
func (ModelDiscriminatedParentTypeRemoved) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type ModelDiscriminatedTypeHintInChanged ¶
type ModelDiscriminatedTypeHintInChanged struct { // ServiceName specifies the name of the Service which contains this Model. ServiceName string // ApiVersion specifies the name of the API Version which contains this Model. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Model. ResourceName string // ModelName specifies the name of the Model where the Discriminated TypeHintIn has changed. ModelName string // OldValue specifies the old name of the Field that was used to uniquely identify this // Discriminated Implementation. OldValue string // OldValue specifies the new/updated name of the Field that was used to uniquely identify this // Discriminated Implementation. NewValue string }
ModelDiscriminatedTypeHintInChanged defines that the TypeHintIn field has changed for the Model in question.
func (ModelDiscriminatedTypeHintInChanged) IsBreaking ¶
func (ModelDiscriminatedTypeHintInChanged) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type ModelDiscriminatedTypeValueChanged ¶
type ModelDiscriminatedTypeValueChanged struct { // ServiceName specifies the name of the Service which contains this Model. ServiceName string // ApiVersion specifies the name of the API Version which contains this Model. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Model. ResourceName string // ModelName specifies the name of the Model where the Discriminated Type Value has changed. ModelName string // OldValue specifies the old Value that was used to uniquely identify this Discriminated // Implementation. OldValue string // NewValue specifies the new/updated Value used to uniquely identify this Discriminated // Implementation. NewValue string }
ModelDiscriminatedTypeValueChanged defines that the Discriminated Value used to uniquely identify this Discriminated Type has changed.
func (ModelDiscriminatedTypeValueChanged) IsBreaking ¶
func (ModelDiscriminatedTypeValueChanged) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type ModelRemoved ¶
type ModelRemoved struct { // ServiceName specifies the name of the Service which contained this Model. ServiceName string // ApiVersion specifies the name of the API Version which contained this Model. ApiVersion string // ResourceName specifies the name of the API Resource which contained this Model. ResourceName string // ModelName specifies the name of the Model which has been removed. ModelName string }
ModelRemoved defines information about a Model which has been Removed.
func (ModelRemoved) IsBreaking ¶
func (ModelRemoved) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type OperationAdded ¶
type OperationAdded struct { // ServiceName specifies the name of the Service which contains this Operation. ServiceName string // ApiVersion specifies the name of the API Version which contains this Operation. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Operation. ResourceName string // OperationName specifies the name of the Operation which has been added. OperationName string // Uri specifies the URI of the Operation which has been added. Uri string }
OperationAdded defines an Operation which has been added to an existing API Resource.
func (OperationAdded) IsBreaking ¶
func (OperationAdded) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type OperationContentTypeChanged ¶
type OperationContentTypeChanged struct { // ServiceName specifies the name of the Service which contains this Operation. ServiceName string // ApiVersion specifies the name of the API Version which contains this Operation. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Operation. ResourceName string // OperationName specifies the name of the Operation which has been an updated ContentType. OperationName string // OldContentType specifies the old/existing value for the Content-Type field for this Operation. OldContentType string // NewContentType specifies the new/updated value for the Content-Type field for this Operation. NewContentType string }
OperationContentTypeChanged defines that the ContentType for an existing Operation has changed.
func (OperationContentTypeChanged) IsBreaking ¶
func (OperationContentTypeChanged) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type OperationExpectedStatusCodesChanged ¶
type OperationExpectedStatusCodesChanged struct { // ServiceName specifies the name of the Service which contains this Operation. ServiceName string // ApiVersion specifies the name of the API Version which contains this Operation. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Operation. ResourceName string // OperationName specifies the name of the Operation which has an updated set of Expected Status Codes. OperationName string // OldExpectedStatusCodes specifies the old/existing Expected Status Codes for this Operation. OldExpectedStatusCodes []int // NewExpectedStatusCodes specifies the new/updated Expected Status Codes for this Operation. NewExpectedStatusCodes []int }
OperationExpectedStatusCodesChanged defines when the Expected Status Codes for an existing Operation have changed.
func (OperationExpectedStatusCodesChanged) IsBreaking ¶
func (c OperationExpectedStatusCodesChanged) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type OperationLongRunningAdded ¶
type OperationLongRunningAdded struct { // ServiceName specifies the name of the Service which contains this Operation. ServiceName string // ApiVersion specifies the name of the API Version which contains this Operation. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Operation. ResourceName string // OperationName specifies the name of the Operation which is now a Long Running Operation. OperationName string }
OperationLongRunningAdded defines when an existing Operation is now Long Running.
func (OperationLongRunningAdded) IsBreaking ¶
func (OperationLongRunningAdded) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type OperationLongRunningRemoved ¶
type OperationLongRunningRemoved struct { // ServiceName specifies the name of the Service which contains this Operation. ServiceName string // ApiVersion specifies the name of the API Version which contains this Operation. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Operation. ResourceName string // OperationName specifies the name of the Operation which is no longer a Long Running Operation. OperationName string }
OperationLongRunningRemoved defines when an existing Operation is no longer Long Running.
func (OperationLongRunningRemoved) IsBreaking ¶
func (OperationLongRunningRemoved) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type OperationMethodChanged ¶
type OperationMethodChanged struct { // ServiceName specifies the name of the Service which contains this Operation. ServiceName string // ApiVersion specifies the name of the API Version which contains this Operation. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Operation. ResourceName string // OperationName specifies the name of the Operation which has an updated HTTP Method. OperationName string // OldValue specifies the old/existing HTTP Method for this Operation. OldValue string // NewValue specifies the new/updated HTTP Method for this Operation. NewValue string }
OperationMethodChanged defines when the HTTP Method used for an existing Operation changes.
func (OperationMethodChanged) IsBreaking ¶
func (OperationMethodChanged) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type OperationOptionsAdded ¶
type OperationOptionsAdded struct { // ServiceName specifies the name of the Service which contains this Operation. ServiceName string // ApiVersion specifies the name of the API Version which contains this Operation. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Operation. ResourceName string // OperationName specifies the name of the Operation which has had Options added. OperationName string // NewValue specifies a slice of the new/updated Options for this Operation. NewValue map[string]string }
OperationOptionsAdded defines where an existing Operation now supports Options.
func (OperationOptionsAdded) IsBreaking ¶
func (OperationOptionsAdded) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type OperationOptionsChanged ¶
type OperationOptionsChanged struct { // ServiceName specifies the name of the Service which contains this Operation. ServiceName string // ApiVersion specifies the name of the API Version which contains this Operation. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Operation. ResourceName string // OperationName specifies the name of the Operation which has had its Options changed. OperationName string // OldValue specifies a slice of the old/existing Options for this Operation. OldValue map[string]string // NewValue specifies a slice of the new/updated Options for this Operation. NewValue map[string]string }
OperationOptionsChanged defines an existing Operation which has had its Options changed.
func (OperationOptionsChanged) IsBreaking ¶
func (o OperationOptionsChanged) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type OperationOptionsRemoved ¶
type OperationOptionsRemoved struct { // ServiceName specifies the name of the Service which contains this Operation. ServiceName string // ApiVersion specifies the name of the API Version which contains this Operation. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Operation. ResourceName string // OperationName specifies the name of the Operation which no longer supports Options. OperationName string // OldValue specifies a slice of the old/existing Options for this Operation. OldValue map[string]string }
OperationOptionsRemoved defines where an existing Operation no longer supports Options.
func (OperationOptionsRemoved) IsBreaking ¶
func (OperationOptionsRemoved) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type OperationPaginationFieldChanged ¶
type OperationPaginationFieldChanged struct { // ServiceName specifies the name of the Service which contains this Operation. ServiceName string // ApiVersion specifies the name of the API Version which contains this Operation. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Operation. ResourceName string // OperationName specifies the name of the Operation where the Pagination Field has changed. OperationName string // OldValue specifies the old/existing value for the Pagination Field for this operation. OldValue string // NewValue specifies the new/updated value for the Pagination Field for this operation. NewValue string }
OperationPaginationFieldChanged defines where an existing Operation has an updated value for the Pagination Field.
func (OperationPaginationFieldChanged) IsBreaking ¶
func (OperationPaginationFieldChanged) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type OperationRemoved ¶
type OperationRemoved struct { // ServiceName specifies the name of the Service which contains this Operation. ServiceName string // ApiVersion specifies the name of the API Version which contains this Operation. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Operation. ResourceName string // OperationName specifies the name of the Operation which has been removed. OperationName string // Uri specifies the URI of the Operation which has been removed. Uri string }
OperationRemoved defines an Operation which has been removed from an existing API Resource.
func (OperationRemoved) IsBreaking ¶
func (OperationRemoved) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type OperationRequestObjectAdded ¶
type OperationRequestObjectAdded struct { // ServiceName specifies the name of the Service which contains this Operation. ServiceName string // ApiVersion specifies the name of the API Version which contains this Operation. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Operation. ResourceName string // OperationName specifies the name of the Operation which now has a Request Object. OperationName string // NewRequestObject specifies the new/updated value for the Request Object. NewRequestObject string }
OperationRequestObjectAdded defines that a Request Object has been added to an existing Operation.
func (OperationRequestObjectAdded) IsBreaking ¶
func (OperationRequestObjectAdded) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type OperationRequestObjectChanged ¶
type OperationRequestObjectChanged struct { // ServiceName specifies the name of the Service which contains this Operation. ServiceName string // ApiVersion specifies the name of the API Version which contains this Operation. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Operation. ResourceName string // OperationName specifies the name of the Operation which now has a Request Object. OperationName string // NewRequestObject specifies the new/updated value for the Request Object. NewRequestObject string // OldRequestObject specifies the old/existing value for the Request Object. OldRequestObject string }
OperationRequestObjectChanged defines an existing Operation where the Request Object has changed.
func (OperationRequestObjectChanged) IsBreaking ¶
func (OperationRequestObjectChanged) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type OperationRequestObjectRemoved ¶
type OperationRequestObjectRemoved struct { // ServiceName specifies the name of the Service which contains this Operation. ServiceName string // ApiVersion specifies the name of the API Version which contains this Operation. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Operation. ResourceName string // OperationName specifies the name of the Operation which no longer has a Request Object. OperationName string // OldRequestObject specifies the old/existing value for the Request Object. OldRequestObject string }
OperationRequestObjectRemoved defines that a Request Object has been removed from an existing Operation.
func (OperationRequestObjectRemoved) IsBreaking ¶
func (OperationRequestObjectRemoved) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type OperationResourceIdAdded ¶
type OperationResourceIdAdded struct { // ServiceName specifies the name of the Service which contains this Operation. ServiceName string // ApiVersion specifies the name of the API Version which contains this Operation. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Operation. ResourceName string // OperationName specifies the name of the Operation which now has a Resource Id Name. OperationName string // NewResourceIdName specifies the new/updated value for the Resource Id Name. NewResourceIdName string }
OperationResourceIdAdded defines when a Resource Id is added to an existing Operation.
func (OperationResourceIdAdded) IsBreaking ¶
func (OperationResourceIdAdded) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type OperationResourceIdChanged ¶
type OperationResourceIdChanged struct { // ServiceName specifies the name of the Service which contains this Operation. ServiceName string // ApiVersion specifies the name of the API Version which contains this Operation. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Operation. ResourceName string // OperationName specifies the name of the Operation which has a new/updated Resource Id Name. OperationName string // OldResourceIdName specifies the old/existing value for the Resource ID Name. OldResourceIdName string // OldValue specifies the old/existing value for this Resource ID. OldValue string // NewResourceIdName specifies the new/updated value for the Resource ID Name. NewResourceIdName string // NewValue specifies the new/updated value for this Resource ID. NewValue string }
OperationResourceIdChanged defines when the Resource Id for an Operation has changed value.
This is different to OperationResourceIdRenamed because in this instance the underlying Resource ID Value (i.e. URI) has changed (i.e. a new Resource) - rather than being renamed.
func (OperationResourceIdChanged) IsBreaking ¶
func (OperationResourceIdChanged) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type OperationResourceIdRemoved ¶
type OperationResourceIdRemoved struct { // ServiceName specifies the name of the Service which contains this Operation. ServiceName string // ApiVersion specifies the name of the API Version which contains this Operation. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Operation. ResourceName string // OperationName specifies the name of the Operation which now has a Resource Id Name. OperationName string // OldResourceIdName specifies the old/existing value for the Resource Id Name. OldResourceIdName string }
OperationResourceIdRemoved defines that an existing Operation no longer requires a Resource ID.
func (OperationResourceIdRemoved) IsBreaking ¶
func (OperationResourceIdRemoved) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type OperationResourceIdRenamed ¶
type OperationResourceIdRenamed struct { // ServiceName specifies the name of the Service which contains this Operation. ServiceName string // ApiVersion specifies the name of the API Version which contains this Operation. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Operation. ResourceName string // OperationName specifies the name of the Operation which has a new/updated Resource Id Name. OperationName string // NewResourceIdName specifies the new/updated value for the Resource Id Name. NewResourceIdName string // OldResourceIdName specifies the old/existing value for the Resource Id Name. OldResourceIdName string }
OperationResourceIdRenamed defines when the Resource Id for an Operation has been renamed.
This is different to OperationResourceIdChanged because the Resource ID is semantically the same - therefore we're targeting the same Resource - but this is an internal-only change thus whilst this IS a breaking change (to the code) it's not a breaking change in the API.
func (OperationResourceIdRenamed) IsBreaking ¶
func (OperationResourceIdRenamed) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type OperationResponseObjectAdded ¶
type OperationResponseObjectAdded struct { // ServiceName specifies the name of the Service which contains this Operation. ServiceName string // ApiVersion specifies the name of the API Version which contains this Operation. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Operation. ResourceName string // OperationName specifies the name of the Operation which now has a Response Object. OperationName string // NewResponseObject specifies the new/updated value for the Response Object. NewResponseObject string }
OperationResponseObjectAdded defines that a Response Object has been added to an existing Operation.
func (OperationResponseObjectAdded) IsBreaking ¶
func (OperationResponseObjectAdded) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type OperationResponseObjectChanged ¶
type OperationResponseObjectChanged struct { // ServiceName specifies the name of the Service which contains this Operation. ServiceName string // ApiVersion specifies the name of the API Version which contains this Operation. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Operation. ResourceName string // OperationName specifies the name of the Operation which now has a Response Object. OperationName string // NewResponseObject specifies the new/updated value for the Response Object. NewResponseObject string // OldResponseObject specifies the old/existing value for the Response Object. OldResponseObject string }
OperationResponseObjectChanged defines an existing Operation where the Response Object has changed.
func (OperationResponseObjectChanged) IsBreaking ¶
func (OperationResponseObjectChanged) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type OperationResponseObjectRemoved ¶
type OperationResponseObjectRemoved struct { // ServiceName specifies the name of the Service which contains this Operation. ServiceName string // ApiVersion specifies the name of the API Version which contains this Operation. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Operation. ResourceName string // OperationName specifies the name of the Operation which no longer has a Response Object. OperationName string // OldResponseObject specifies the old/existing value for the Response Object. OldResponseObject string }
OperationResponseObjectRemoved defines that a Response Object has been removed from an existing Operation.
func (OperationResponseObjectRemoved) IsBreaking ¶
func (OperationResponseObjectRemoved) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type OperationUriSuffixAdded ¶
type OperationUriSuffixAdded struct { // ServiceName specifies the name of the Service which contains this Operation. ServiceName string // ApiVersion specifies the name of the API Version which contains this Operation. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Operation. ResourceName string // OperationName specifies the name of the Operation where the Uri Suffix has been added. OperationName string // NewValue specifies the new/updated Uri Suffix for this Operation. NewValue string }
OperationUriSuffixAdded defines when an existing Operation now has a Uri Suffix.
func (OperationUriSuffixAdded) IsBreaking ¶
func (OperationUriSuffixAdded) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type OperationUriSuffixChanged ¶
type OperationUriSuffixChanged struct { // ServiceName specifies the name of the Service which contains this Operation. ServiceName string // ApiVersion specifies the name of the API Version which contains this Operation. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Operation. ResourceName string // OperationName specifies the name of the Operation where the Uri Suffix has changed. OperationName string // OldValue specifies the old/existing Uri Suffix for this Operation. OldValue string // NewValue specifies the new/updated Uri Suffix for this Operation. NewValue string }
OperationUriSuffixChanged defines when an existing Operation has an updated Uri Suffix.
func (OperationUriSuffixChanged) IsBreaking ¶
func (OperationUriSuffixChanged) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type OperationUriSuffixRemoved ¶
type OperationUriSuffixRemoved struct { // ServiceName specifies the name of the Service which contains this Operation. ServiceName string // ApiVersion specifies the name of the API Version which contains this Operation. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Operation. ResourceName string // OperationName specifies the name of the Operation where the Uri Suffix has changed. OperationName string // OldValue specifies the old/existing Uri Suffix for this Operation which has been removed. OldValue string }
OperationUriSuffixRemoved defines when an existing Operation no longer has a Uri Suffix.
func (OperationUriSuffixRemoved) IsBreaking ¶
func (OperationUriSuffixRemoved) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type ResourceIdAdded ¶
type ResourceIdAdded struct { // ServiceName specifies the name of the Service which contains this // Resource ID. ServiceName string // ApiVersion specifies the name of the API Version which contains this // Resource ID. ApiVersion string // ResourceName specifies the name of the API Resource which contains this // Resource ID. ResourceName string // ResourceIdName specifies the name of the Resource ID which has been added. ResourceIdName string // ResourceIdValue specifies the value used for this Resource ID e.g. `/foo/{bar}` ResourceIdValue string // StaticIdentifiersInNewValue specifies a unique, sorted list of Static Identifiers (such as Resource // Provider Name and any Static Values) present within the new/updated value for this Resource ID. StaticIdentifiersInNewValue []string }
ResourceIdAdded defines information about a new Resource ID.
func (ResourceIdAdded) IsBreaking ¶
func (ResourceIdAdded) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type ResourceIdCommonIdAdded ¶
type ResourceIdCommonIdAdded struct { // ServiceName specifies the name of the Service which contained this // Resource ID. ServiceName string // ApiVersion specifies the name of the API Version which contained this // Resource ID. ApiVersion string // ResourceName specifies the name of the API Resource which contained this // Resource ID. ResourceName string // ResourceIdName specifies the name of the Resource ID which is now a Common ID. ResourceIdName string // CommonAliasName specifies the name of the Common Alias for this Resource ID. CommonAliasName string // ResourceIdValue specifies the value used for this Resource ID e.g. `/foo/{bar}` ResourceIdValue string }
ResourceIdCommonIdAdded defines that a Resource ID which existed previously has been updated to be a Common ID.
func (ResourceIdCommonIdAdded) IsBreaking ¶
func (ResourceIdCommonIdAdded) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type ResourceIdCommonIdChanged ¶
type ResourceIdCommonIdChanged struct { // ServiceName specifies the name of the Service which contained this // Resource ID. ServiceName string // ApiVersion specifies the name of the API Version which contained this // Resource ID. ApiVersion string // ResourceName specifies the name of the API Resource which contained this // Resource ID. ResourceName string // ResourceIdName specifies the name of the Resource ID which is now a Common ID. ResourceIdName string // NewCommonAliasName specifies the new/updated value for the Common Alias associated with this Resource ID. NewCommonAliasName string // OldCommonAliasName specifies the old/existing value for the Common Alias associated with this Resource ID. OldCommonAliasName string // OldValue specifies the old/existing value for this Resource ID. OldValue string // NewValue specifies the new/updated value for this Resource ID. NewValue string }
ResourceIdCommonIdChanged defines that an existing Resource ID that previously used a Common ID now references a different Common ID - this would happen when a Common ID gets renamed.
func (ResourceIdCommonIdChanged) IsBreaking ¶
func (ResourceIdCommonIdChanged) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type ResourceIdCommonIdRemoved ¶
type ResourceIdCommonIdRemoved struct { // ServiceName specifies the name of the Service which contained this // Resource ID. ServiceName string // ApiVersion specifies the name of the API Version which contained this // Resource ID. ApiVersion string // ResourceName specifies the name of the API Resource which contained this // Resource ID. ResourceName string // ResourceIdName specifies the name of the Resource ID which is no longer a Common ID. ResourceIdName string // CommonAliasName specifies the name of the Common Alias for this Resource ID. CommonAliasName string // ResourceIdValue specifies the value used for this Resource ID e.g. `/foo/{bar}` ResourceIdValue string }
ResourceIdCommonIdRemoved defines that a Resource ID which existed previously is no longer a Common ID.
func (ResourceIdCommonIdRemoved) IsBreaking ¶
func (ResourceIdCommonIdRemoved) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type ResourceIdRemoved ¶
type ResourceIdRemoved struct { // ServiceName specifies the name of the Service which contained this // Resource ID. ServiceName string // ApiVersion specifies the name of the API Version which contained this // Resource ID. ApiVersion string // ResourceName specifies the name of the API Resource which contained this // Resource ID. ResourceName string // ResourceIdName specifies the name of the Resource ID which has been removed. ResourceIdName string // ResourceIdValue specifies the value used for this Resource ID e.g. `/foo/{bar}` ResourceIdValue string }
ResourceIdRemoved defines information about a Resource ID that has been removed.
func (ResourceIdRemoved) IsBreaking ¶
func (ResourceIdRemoved) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type ResourceIdSegmentChangedValue ¶
type ResourceIdSegmentChangedValue struct { // ServiceName specifies the name of the Service which contains this Resource ID. ServiceName string // ApiVersion specifies the name of the API Version which contains this Resource ID. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Resource ID. ResourceName string // ResourceIdName specifies the name of the Resource ID which contains the Segment that has changed. ResourceIdName string // SegmentIndex specifies the index of this Resource ID Segment which has changed. SegmentIndex int // OldValue specifies the old/existing value for this Resource ID Segment. OldValue string // NewValue specifies the new/updated value for this Resource ID Segment. NewValue string // StaticIdentifierInNewValue specifies any static identifier present in the updated Resource ID Segment. StaticIdentifierInNewValue *string }
ResourceIdSegmentChangedValue defines where an existing Resource ID Segment changes its value. For example there's an updated Name for the Segment, or where the Segment Type changes from a String -> Constant.
func (ResourceIdSegmentChangedValue) IsBreaking ¶
func (r ResourceIdSegmentChangedValue) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type ResourceIdSegmentsChangedLength ¶
type ResourceIdSegmentsChangedLength struct { // ServiceName specifies the name of the Service which contains this Resource ID. ServiceName string // ApiVersion specifies the name of the API Version which contains this Resource ID. ApiVersion string // ResourceName specifies the name of the API Resource which contains this Resource ID. ResourceName string // ResourceIdName specifies the name of the Resource ID which contains the Segments that has changed. ResourceIdName string // OldValue specifies the old/existing value for this Resource ID. OldValue []string // NewValue specifies the new/updated value for this Resource ID. NewValue []string // StaticIdentifiersInNewValue specifies a unique, sorted list of Static Identifiers (such as Resource // Provider Name and any Static Values) present within the new/updated value for this Resource ID Segment. StaticIdentifiersInNewValue []string }
ResourceIdSegmentsChangedLength defines when an existing Resource ID has an entirely different set of Resource ID Segments - because the Length of the Resource ID Segments differs between the older and updated Resource ID.
func (ResourceIdSegmentsChangedLength) IsBreaking ¶
func (ResourceIdSegmentsChangedLength) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type ServiceAdded ¶
type ServiceAdded struct { // ServiceName is the name of the Service (e.g. `Compute`). ServiceName string }
ServiceAdded defines information about a new Service.
func (ServiceAdded) IsBreaking ¶
func (ServiceAdded) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
type ServiceRemoved ¶
type ServiceRemoved struct { // ServiceName is the name of the Service (e.g. `Compute`). ServiceName string }
ServiceRemoved defines information about a Service which has been removed.
func (ServiceRemoved) IsBreaking ¶
func (ServiceRemoved) IsBreaking() bool
IsBreaking returns whether this Change is considered a Breaking Change.
Source Files ¶
- api_resource_added.go
- api_resource_removed.go
- api_version_added.go
- api_version_removed.go
- change.go
- common_types_api_version_added.go
- common_types_api_version_removed.go
- common_types_constant_added.go
- common_types_constant_key_value_added.go
- common_types_constant_key_value_changed.go
- common_types_constant_key_value_removed.go
- common_types_constant_removed.go
- common_types_constant_type_changed.go
- common_types_model_added.go
- common_types_model_removed.go
- constant_added.go
- constant_key_value_added.go
- constant_key_value_changed.go
- constant_key_value_removed.go
- constant_removed.go
- constant_type_changed.go
- field_added.go
- field_is_now_optional.go
- field_is_now_required.go
- field_json_name_changed.go
- field_object_definition_changed.go
- field_removed.go
- model_added.go
- model_discriminated_parent_type_added.go
- model_discriminated_parent_type_changed.go
- model_discriminated_parent_type_removed.go
- model_discriminated_type_hint_in_changed.go
- model_discriminated_type_value_changed.go
- model_removed.go
- operation_added.go
- operation_content_type_changed.go
- operation_expected_status_codes_changed.go
- operation_long_running_added.go
- operation_long_running_removed.go
- operation_method_changed.go
- operation_options_added.go
- operation_options_changed.go
- operation_options_removed.go
- operation_pagination_field_changed.go
- operation_removed.go
- operation_request_object_added.go
- operation_request_object_changed.go
- operation_request_object_removed.go
- operation_resource_id_added.go
- operation_resource_id_changed.go
- operation_resource_id_removed.go
- operation_resource_id_renamed.go
- operation_response_object_added.go
- operation_response_object_changed.go
- operation_response_object_removed.go
- operation_uri_suffix_added.go
- operation_uri_suffix_changed.go
- operation_uri_suffix_removed.go
- resource_id_added.go
- resource_id_common_id_added.go
- resource_id_common_id_changed.go
- resource_id_common_id_removed.go
- resource_id_removed.go
- resource_id_segment_changed_value.go
- resource_id_segments_changed_length.go
- service_added.go
- service_removed.go