apcera 0.1.6 → 0.1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/apcera/models/service.rb +111 -0
- data/lib/apcera/version.rb +1 -1
- data/lib/apcera.rb +1 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f59befb88a9295708894736cbe6dd89183b58d9b
|
4
|
+
data.tar.gz: f8618120fd0ed0a55505137c92f0fd5623bf0f8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23cda29655c5a529a6f2064899ee9cf524bd32af9ee6c56a439cb16af8ba7bfc4591ab2345fe15c700152ddedc7da98c545eb9947c40003b9f3e871949d972a7
|
7
|
+
data.tar.gz: 362537cd692a3e92dc4b3a050ca09b9d3ce7f36f0ef76be7d23adfb3f7ba2618cc8a34aab9b779f1658655b81c1e0ba1a0488127cb80cc1886224e263ab37a82
|
@@ -0,0 +1,111 @@
|
|
1
|
+
module Apcera
|
2
|
+
#
|
3
|
+
class Service < BaseObject
|
4
|
+
attr_accessor :created_at, :created_by, :extended_status, :description, :fqn, :name, :provider_fqn, :status, :type, :uuid
|
5
|
+
# attribute mapping from ruby-style variable name to JSON key
|
6
|
+
def self.attribute_map
|
7
|
+
{
|
8
|
+
|
9
|
+
# The date and time when the staging pipeline was created.
|
10
|
+
:'created_at' => :'created_at',
|
11
|
+
|
12
|
+
# Principal name of the user who created the staging pipeline.
|
13
|
+
:'created_by' => :'created_by',
|
14
|
+
|
15
|
+
# A map of custom binding parameter names to their values.
|
16
|
+
:'extended_status' => :'extended_status',
|
17
|
+
|
18
|
+
# The description of the service.
|
19
|
+
:'description' => :'description',
|
20
|
+
|
21
|
+
# The services's fully-qualified name.
|
22
|
+
:'fqn' => :'fqn',
|
23
|
+
|
24
|
+
# The base name of the binding.
|
25
|
+
:'name' => :'name',
|
26
|
+
|
27
|
+
# Fully-qualified name of the provider used to create the service.
|
28
|
+
:'provider_fqn' => :'provider_fqn',
|
29
|
+
|
30
|
+
# The status of service.
|
31
|
+
:'status' => :'status',
|
32
|
+
|
33
|
+
# The Type of service.
|
34
|
+
:'type' => :'type',
|
35
|
+
|
36
|
+
# The Service's unique identifier.
|
37
|
+
:'uuid' => :'uuid'
|
38
|
+
|
39
|
+
}
|
40
|
+
end
|
41
|
+
|
42
|
+
# attribute type
|
43
|
+
def self.swagger_types
|
44
|
+
{
|
45
|
+
:'created_at' => :'DateTime',
|
46
|
+
:'created_by' => :'String',
|
47
|
+
:'extended_status' => :'Hash<String, String>',
|
48
|
+
:'description' => :'String',
|
49
|
+
:'fqn' => :'String',
|
50
|
+
:'name' => :'String',
|
51
|
+
:'provider_fqn' => :'String',
|
52
|
+
:'status' => :'String',
|
53
|
+
:'type' => :'String',
|
54
|
+
:'uuid' => :'String'
|
55
|
+
|
56
|
+
}
|
57
|
+
end
|
58
|
+
|
59
|
+
def initialize(attributes = {})
|
60
|
+
return if !attributes.is_a?(Hash) || attributes.empty?
|
61
|
+
|
62
|
+
# convert string to symbol for hash key
|
63
|
+
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
64
|
+
|
65
|
+
|
66
|
+
if attributes[:'created_at']
|
67
|
+
self.created_at = attributes[:'created_at']
|
68
|
+
end
|
69
|
+
|
70
|
+
if attributes[:'created_by']
|
71
|
+
self.created_by = attributes[:'created_by']
|
72
|
+
end
|
73
|
+
|
74
|
+
if attributes[:'extended_status']
|
75
|
+
if (value = attributes[:'extended_status']).is_a?(Array)
|
76
|
+
self.extended_status = value
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
if attributes[:'description']
|
81
|
+
self.description = attributes[:'description']
|
82
|
+
end
|
83
|
+
|
84
|
+
if attributes[:'fqn']
|
85
|
+
self.fqn = attributes[:'fqn']
|
86
|
+
end
|
87
|
+
|
88
|
+
if attributes[:'name']
|
89
|
+
self.name = attributes[:'name']
|
90
|
+
end
|
91
|
+
|
92
|
+
if attributes[:'provider_fqn']
|
93
|
+
self.provider_fqn = attributes[:'provider_fqn']
|
94
|
+
end
|
95
|
+
|
96
|
+
if attributes[:'status']
|
97
|
+
self.status = attributes[:'status']
|
98
|
+
end
|
99
|
+
|
100
|
+
if attributes[:'type']
|
101
|
+
self.type = attributes[:'type']
|
102
|
+
end
|
103
|
+
|
104
|
+
if attributes[:'uuid']
|
105
|
+
self.uuid = attributes[:'uuid']
|
106
|
+
end
|
107
|
+
|
108
|
+
end
|
109
|
+
|
110
|
+
end
|
111
|
+
end
|
data/lib/apcera/version.rb
CHANGED
data/lib/apcera.rb
CHANGED
@@ -51,6 +51,7 @@ require 'apcera/models/runtime'
|
|
51
51
|
require 'apcera/models/semi_pipe_rule'
|
52
52
|
require 'apcera/models/semi_pipe_rule_action'
|
53
53
|
require 'apcera/models/stager_job'
|
54
|
+
require 'apcera/models/service'
|
54
55
|
require 'apcera/models/staging_pipeline'
|
55
56
|
require 'apcera/models/subnet_info'
|
56
57
|
require 'apcera/models/sub_task'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apcera
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.6
|
4
|
+
version: 0.1.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jamie Smith
|
@@ -258,6 +258,7 @@ files:
|
|
258
258
|
- lib/apcera/models/runtime.rb
|
259
259
|
- lib/apcera/models/semi_pipe_rule.rb
|
260
260
|
- lib/apcera/models/semi_pipe_rule_action.rb
|
261
|
+
- lib/apcera/models/service.rb
|
261
262
|
- lib/apcera/models/stager_job.rb
|
262
263
|
- lib/apcera/models/staging_pipeline.rb
|
263
264
|
- lib/apcera/models/sub_task.rb
|