Class: Azure::ContainerRegistry::Mgmt::V2018_02_01_preview::Models::GitCommitTrigger
- Inherits:
-
Object
- Object
- Azure::ContainerRegistry::Mgmt::V2018_02_01_preview::Models::GitCommitTrigger
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/git_commit_trigger.rb
Overview
The git commit trigger that caused a build.
Instance Attribute Summary collapse
-
#branch_name ⇒ String
The branch name in the repository.
-
#commit_id ⇒ String
The unique ID that identifies a commit.
-
#id ⇒ String
The unique ID of the trigger.
-
#provider_type ⇒ String
The source control provider type.
-
#repository_url ⇒ String
The repository URL.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for GitCommitTrigger class as Ruby Hash.
Instance Attribute Details
#branch_name ⇒ String
Returns The branch name in the repository.
25 26 27 |
# File 'lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/git_commit_trigger.rb', line 25 def branch_name @branch_name end |
#commit_id ⇒ String
Returns The unique ID that identifies a commit.
19 20 21 |
# File 'lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/git_commit_trigger.rb', line 19 def commit_id @commit_id end |
#id ⇒ String
Returns The unique ID of the trigger.
16 17 18 |
# File 'lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/git_commit_trigger.rb', line 16 def id @id end |
#provider_type ⇒ String
Returns The source control provider type.
28 29 30 |
# File 'lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/git_commit_trigger.rb', line 28 def provider_type @provider_type end |
#repository_url ⇒ String
Returns The repository URL.
22 23 24 |
# File 'lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/git_commit_trigger.rb', line 22 def repository_url @repository_url end |
Class Method Details
.mapper ⇒ Object
Mapper for GitCommitTrigger class as Ruby Hash. This will be used for serialization/deserialization.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 |
# File 'lib/2018-02-01-preview/generated/azure_mgmt_container_registry/models/git_commit_trigger.rb', line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'GitCommitTrigger', type: { name: 'Composite', class_name: 'GitCommitTrigger', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, commit_id: { client_side_validation: true, required: false, serialized_name: 'commitId', type: { name: 'String' } }, repository_url: { client_side_validation: true, required: false, serialized_name: 'repositoryUrl', type: { name: 'String' } }, branch_name: { client_side_validation: true, required: false, serialized_name: 'branchName', type: { name: 'String' } }, provider_type: { client_side_validation: true, required: false, serialized_name: 'providerType', type: { name: 'String' } } } } } end |