class Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceUpdateParameters
The properties for updating the source code repository.
Attributes
branch[RW]
@return [String] The branch name of the source code.
repository_url[RW]
@return [String] The full URL to the source code repository
source_control_auth_properties[RW]
@return [AuthInfoUpdateParameters] The authorization properties for accessing the source code repository and to set up webhooks for notifications.
source_control_type[RW]
@return [SourceControlType] The type of source control service. Possible values include: 'Github', 'VisualStudioTeamService'
Private Class Methods
mapper()
click to toggle source
Mapper for SourceUpdateParameters
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_update_parameters.rb, line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SourceUpdateParameters', type: { name: 'Composite', class_name: 'SourceUpdateParameters', model_properties: { source_control_type: { client_side_validation: true, required: false, serialized_name: 'sourceControlType', type: { name: 'String' } }, repository_url: { client_side_validation: true, required: false, serialized_name: 'repositoryUrl', type: { name: 'String' } }, branch: { client_side_validation: true, required: false, serialized_name: 'branch', type: { name: 'String' } }, source_control_auth_properties: { client_side_validation: true, required: false, serialized_name: 'sourceControlAuthProperties', type: { name: 'Composite', class_name: 'AuthInfoUpdateParameters' } } } } } end