Class: Latitude::API::Resources::Project

Inherits:
APIResource show all
Extended by:
Operations::Create, Operations::Delete, Operations::List, Operations::Nested, Operations::Retrieve, Operations::Update
Defined in:
lib/latitude/api/resources/project.rb

Defined Under Namespace

Classes: SSHKey, UserData

Constant Summary

Constants inherited from APIResource

APIResource::READ_ONLY_ATTRIBUTES

Instance Attribute Summary collapse

Attributes inherited from APIResource

#id, #meta, #path_params, #raw_data, #type

Method Summary

Methods included from Operations::List

all, list

Methods included from Operations::Create

create

Methods included from Operations::Retrieve

retrieve

Methods included from Operations::Update

update

Methods included from Operations::Delete

delete

Methods included from Operations::Nested

nested_resource, path_param_keys_for_parent

Methods inherited from APIResource

#==, #[], #[]=, #as_json, #attributes, #changed?, class_url, config_source, construct_from, #delete, execute_request, extract_path_params, #hash, id_prefix, #initialize, #inspect, instance_url, #method_missing, path_param_keys, #refresh, resource_path, resource_type, #resource_url, #respond_to_missing?, #save, #to_h, #unsaved_attributes, with_config, #write_attribute

Methods included from Attributes::ClassMethods

#attribute, #attribute_specs

Methods included from Attributes::InstanceMethods

#attribute_spec, #read_attribute, #wrap_attribute

Constructor Details

This class inherits a constructor from Latitude::API::APIResource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Latitude::API::APIResource

Instance Attribute Details

#bandwidth_alertBoolean

Returns:



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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# File 'lib/latitude/api/resources/project.rb', line 36

class Project < APIResource
  attribute :tags, [Objects::Tag]
  attribute :name, :string
  attribute :slug, :string
  attribute :description, :string
  attribute :bandwidth_alert, :boolean
  attribute :environment, :string
  attribute :provisioning_type, :string
  attribute :billing_type, :string
  attribute :billing_method, :string
  attribute :billing, Objects::Billing
  attribute :team, Objects::Team
  attribute :stats, Objects::Stats
  attribute :created_at, :time, read_only: true
  attribute :updated_at, :time, read_only: true
  attribute :cost, :string

  resource_type "projects"
  resource_path "/projects"
  id_prefix     "proj_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete
  extend Operations::Nested

  nested_resource :ssh_keys,  class_name: "Latitude::API::Resources::Project::SSHKey"
  nested_resource :user_data, class_name: "Latitude::API::Resources::Project::UserData"

  # @!attribute [rw] tags

  #   @return [Array<Latitude::API::Objects::Tag>]

  # @!attribute [rw] name

  #   @return [String]

  # @!attribute [rw] public_key

  #   @return [String]

  # @!attribute [rw] fingerprint

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  # @!attribute [rw] user

  #   @return [Latitude::API::Objects::User]

  class SSHKey < APIResource

    attribute :tags, [Objects::Tag]

    attribute :name, :string

    attribute :public_key, :string

    attribute :fingerprint, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :project, Objects::Project

    attribute :user, Objects::User

    resource_type "ssh_keys"
    resource_path "/projects/:project_id/ssh_keys"
    id_prefix     "ssh_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end

  # @!attribute [rw] description

  #   @return [String]

  # @!attribute [rw] content

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] decoded_content

  #   @return [String]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  class UserData < APIResource

    attribute :description, :string

    attribute :content, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :decoded_content, :string

    attribute :project, Objects::Project

    resource_type "user_data"
    resource_path "/projects/:project_id/user_data"
    id_prefix     "ud_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end
end

#billingLatitude::API::Objects::Billing

Returns:



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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# File 'lib/latitude/api/resources/project.rb', line 36

class Project < APIResource
  attribute :tags, [Objects::Tag]
  attribute :name, :string
  attribute :slug, :string
  attribute :description, :string
  attribute :bandwidth_alert, :boolean
  attribute :environment, :string
  attribute :provisioning_type, :string
  attribute :billing_type, :string
  attribute :billing_method, :string
  attribute :billing, Objects::Billing
  attribute :team, Objects::Team
  attribute :stats, Objects::Stats
  attribute :created_at, :time, read_only: true
  attribute :updated_at, :time, read_only: true
  attribute :cost, :string

  resource_type "projects"
  resource_path "/projects"
  id_prefix     "proj_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete
  extend Operations::Nested

  nested_resource :ssh_keys,  class_name: "Latitude::API::Resources::Project::SSHKey"
  nested_resource :user_data, class_name: "Latitude::API::Resources::Project::UserData"

  # @!attribute [rw] tags

  #   @return [Array<Latitude::API::Objects::Tag>]

  # @!attribute [rw] name

  #   @return [String]

  # @!attribute [rw] public_key

  #   @return [String]

  # @!attribute [rw] fingerprint

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  # @!attribute [rw] user

  #   @return [Latitude::API::Objects::User]

  class SSHKey < APIResource

    attribute :tags, [Objects::Tag]

    attribute :name, :string

    attribute :public_key, :string

    attribute :fingerprint, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :project, Objects::Project

    attribute :user, Objects::User

    resource_type "ssh_keys"
    resource_path "/projects/:project_id/ssh_keys"
    id_prefix     "ssh_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end

  # @!attribute [rw] description

  #   @return [String]

  # @!attribute [rw] content

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] decoded_content

  #   @return [String]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  class UserData < APIResource

    attribute :description, :string

    attribute :content, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :decoded_content, :string

    attribute :project, Objects::Project

    resource_type "user_data"
    resource_path "/projects/:project_id/user_data"
    id_prefix     "ud_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end
end

#billing_methodString

Returns:



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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# File 'lib/latitude/api/resources/project.rb', line 36

class Project < APIResource
  attribute :tags, [Objects::Tag]
  attribute :name, :string
  attribute :slug, :string
  attribute :description, :string
  attribute :bandwidth_alert, :boolean
  attribute :environment, :string
  attribute :provisioning_type, :string
  attribute :billing_type, :string
  attribute :billing_method, :string
  attribute :billing, Objects::Billing
  attribute :team, Objects::Team
  attribute :stats, Objects::Stats
  attribute :created_at, :time, read_only: true
  attribute :updated_at, :time, read_only: true
  attribute :cost, :string

  resource_type "projects"
  resource_path "/projects"
  id_prefix     "proj_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete
  extend Operations::Nested

  nested_resource :ssh_keys,  class_name: "Latitude::API::Resources::Project::SSHKey"
  nested_resource :user_data, class_name: "Latitude::API::Resources::Project::UserData"

  # @!attribute [rw] tags

  #   @return [Array<Latitude::API::Objects::Tag>]

  # @!attribute [rw] name

  #   @return [String]

  # @!attribute [rw] public_key

  #   @return [String]

  # @!attribute [rw] fingerprint

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  # @!attribute [rw] user

  #   @return [Latitude::API::Objects::User]

  class SSHKey < APIResource

    attribute :tags, [Objects::Tag]

    attribute :name, :string

    attribute :public_key, :string

    attribute :fingerprint, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :project, Objects::Project

    attribute :user, Objects::User

    resource_type "ssh_keys"
    resource_path "/projects/:project_id/ssh_keys"
    id_prefix     "ssh_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end

  # @!attribute [rw] description

  #   @return [String]

  # @!attribute [rw] content

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] decoded_content

  #   @return [String]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  class UserData < APIResource

    attribute :description, :string

    attribute :content, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :decoded_content, :string

    attribute :project, Objects::Project

    resource_type "user_data"
    resource_path "/projects/:project_id/user_data"
    id_prefix     "ud_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end
end

#billing_typeString

Returns:



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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# File 'lib/latitude/api/resources/project.rb', line 36

class Project < APIResource
  attribute :tags, [Objects::Tag]
  attribute :name, :string
  attribute :slug, :string
  attribute :description, :string
  attribute :bandwidth_alert, :boolean
  attribute :environment, :string
  attribute :provisioning_type, :string
  attribute :billing_type, :string
  attribute :billing_method, :string
  attribute :billing, Objects::Billing
  attribute :team, Objects::Team
  attribute :stats, Objects::Stats
  attribute :created_at, :time, read_only: true
  attribute :updated_at, :time, read_only: true
  attribute :cost, :string

  resource_type "projects"
  resource_path "/projects"
  id_prefix     "proj_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete
  extend Operations::Nested

  nested_resource :ssh_keys,  class_name: "Latitude::API::Resources::Project::SSHKey"
  nested_resource :user_data, class_name: "Latitude::API::Resources::Project::UserData"

  # @!attribute [rw] tags

  #   @return [Array<Latitude::API::Objects::Tag>]

  # @!attribute [rw] name

  #   @return [String]

  # @!attribute [rw] public_key

  #   @return [String]

  # @!attribute [rw] fingerprint

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  # @!attribute [rw] user

  #   @return [Latitude::API::Objects::User]

  class SSHKey < APIResource

    attribute :tags, [Objects::Tag]

    attribute :name, :string

    attribute :public_key, :string

    attribute :fingerprint, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :project, Objects::Project

    attribute :user, Objects::User

    resource_type "ssh_keys"
    resource_path "/projects/:project_id/ssh_keys"
    id_prefix     "ssh_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end

  # @!attribute [rw] description

  #   @return [String]

  # @!attribute [rw] content

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] decoded_content

  #   @return [String]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  class UserData < APIResource

    attribute :description, :string

    attribute :content, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :decoded_content, :string

    attribute :project, Objects::Project

    resource_type "user_data"
    resource_path "/projects/:project_id/user_data"
    id_prefix     "ud_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end
end

#contentObject



# File 'lib/latitude/api/resources/project.rb', line 132


#costString

Returns:



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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# File 'lib/latitude/api/resources/project.rb', line 36

class Project < APIResource
  attribute :tags, [Objects::Tag]
  attribute :name, :string
  attribute :slug, :string
  attribute :description, :string
  attribute :bandwidth_alert, :boolean
  attribute :environment, :string
  attribute :provisioning_type, :string
  attribute :billing_type, :string
  attribute :billing_method, :string
  attribute :billing, Objects::Billing
  attribute :team, Objects::Team
  attribute :stats, Objects::Stats
  attribute :created_at, :time, read_only: true
  attribute :updated_at, :time, read_only: true
  attribute :cost, :string

  resource_type "projects"
  resource_path "/projects"
  id_prefix     "proj_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete
  extend Operations::Nested

  nested_resource :ssh_keys,  class_name: "Latitude::API::Resources::Project::SSHKey"
  nested_resource :user_data, class_name: "Latitude::API::Resources::Project::UserData"

  # @!attribute [rw] tags

  #   @return [Array<Latitude::API::Objects::Tag>]

  # @!attribute [rw] name

  #   @return [String]

  # @!attribute [rw] public_key

  #   @return [String]

  # @!attribute [rw] fingerprint

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  # @!attribute [rw] user

  #   @return [Latitude::API::Objects::User]

  class SSHKey < APIResource

    attribute :tags, [Objects::Tag]

    attribute :name, :string

    attribute :public_key, :string

    attribute :fingerprint, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :project, Objects::Project

    attribute :user, Objects::User

    resource_type "ssh_keys"
    resource_path "/projects/:project_id/ssh_keys"
    id_prefix     "ssh_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end

  # @!attribute [rw] description

  #   @return [String]

  # @!attribute [rw] content

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] decoded_content

  #   @return [String]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  class UserData < APIResource

    attribute :description, :string

    attribute :content, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :decoded_content, :string

    attribute :project, Objects::Project

    resource_type "user_data"
    resource_path "/projects/:project_id/user_data"
    id_prefix     "ud_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end
end

#created_atObject (readonly)



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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# File 'lib/latitude/api/resources/project.rb', line 36

class Project < APIResource
  attribute :tags, [Objects::Tag]
  attribute :name, :string
  attribute :slug, :string
  attribute :description, :string
  attribute :bandwidth_alert, :boolean
  attribute :environment, :string
  attribute :provisioning_type, :string
  attribute :billing_type, :string
  attribute :billing_method, :string
  attribute :billing, Objects::Billing
  attribute :team, Objects::Team
  attribute :stats, Objects::Stats
  attribute :created_at, :time, read_only: true
  attribute :updated_at, :time, read_only: true
  attribute :cost, :string

  resource_type "projects"
  resource_path "/projects"
  id_prefix     "proj_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete
  extend Operations::Nested

  nested_resource :ssh_keys,  class_name: "Latitude::API::Resources::Project::SSHKey"
  nested_resource :user_data, class_name: "Latitude::API::Resources::Project::UserData"

  # @!attribute [rw] tags

  #   @return [Array<Latitude::API::Objects::Tag>]

  # @!attribute [rw] name

  #   @return [String]

  # @!attribute [rw] public_key

  #   @return [String]

  # @!attribute [rw] fingerprint

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  # @!attribute [rw] user

  #   @return [Latitude::API::Objects::User]

  class SSHKey < APIResource

    attribute :tags, [Objects::Tag]

    attribute :name, :string

    attribute :public_key, :string

    attribute :fingerprint, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :project, Objects::Project

    attribute :user, Objects::User

    resource_type "ssh_keys"
    resource_path "/projects/:project_id/ssh_keys"
    id_prefix     "ssh_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end

  # @!attribute [rw] description

  #   @return [String]

  # @!attribute [rw] content

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] decoded_content

  #   @return [String]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  class UserData < APIResource

    attribute :description, :string

    attribute :content, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :decoded_content, :string

    attribute :project, Objects::Project

    resource_type "user_data"
    resource_path "/projects/:project_id/user_data"
    id_prefix     "ud_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end
end

#decoded_contentObject



# File 'lib/latitude/api/resources/project.rb', line 144


#descriptionObject



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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# File 'lib/latitude/api/resources/project.rb', line 36

class Project < APIResource
  attribute :tags, [Objects::Tag]
  attribute :name, :string
  attribute :slug, :string
  attribute :description, :string
  attribute :bandwidth_alert, :boolean
  attribute :environment, :string
  attribute :provisioning_type, :string
  attribute :billing_type, :string
  attribute :billing_method, :string
  attribute :billing, Objects::Billing
  attribute :team, Objects::Team
  attribute :stats, Objects::Stats
  attribute :created_at, :time, read_only: true
  attribute :updated_at, :time, read_only: true
  attribute :cost, :string

  resource_type "projects"
  resource_path "/projects"
  id_prefix     "proj_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete
  extend Operations::Nested

  nested_resource :ssh_keys,  class_name: "Latitude::API::Resources::Project::SSHKey"
  nested_resource :user_data, class_name: "Latitude::API::Resources::Project::UserData"

  # @!attribute [rw] tags

  #   @return [Array<Latitude::API::Objects::Tag>]

  # @!attribute [rw] name

  #   @return [String]

  # @!attribute [rw] public_key

  #   @return [String]

  # @!attribute [rw] fingerprint

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  # @!attribute [rw] user

  #   @return [Latitude::API::Objects::User]

  class SSHKey < APIResource

    attribute :tags, [Objects::Tag]

    attribute :name, :string

    attribute :public_key, :string

    attribute :fingerprint, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :project, Objects::Project

    attribute :user, Objects::User

    resource_type "ssh_keys"
    resource_path "/projects/:project_id/ssh_keys"
    id_prefix     "ssh_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end

  # @!attribute [rw] description

  #   @return [String]

  # @!attribute [rw] content

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] decoded_content

  #   @return [String]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  class UserData < APIResource

    attribute :description, :string

    attribute :content, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :decoded_content, :string

    attribute :project, Objects::Project

    resource_type "user_data"
    resource_path "/projects/:project_id/user_data"
    id_prefix     "ud_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end
end

#environmentString

Returns:



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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# File 'lib/latitude/api/resources/project.rb', line 36

class Project < APIResource
  attribute :tags, [Objects::Tag]
  attribute :name, :string
  attribute :slug, :string
  attribute :description, :string
  attribute :bandwidth_alert, :boolean
  attribute :environment, :string
  attribute :provisioning_type, :string
  attribute :billing_type, :string
  attribute :billing_method, :string
  attribute :billing, Objects::Billing
  attribute :team, Objects::Team
  attribute :stats, Objects::Stats
  attribute :created_at, :time, read_only: true
  attribute :updated_at, :time, read_only: true
  attribute :cost, :string

  resource_type "projects"
  resource_path "/projects"
  id_prefix     "proj_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete
  extend Operations::Nested

  nested_resource :ssh_keys,  class_name: "Latitude::API::Resources::Project::SSHKey"
  nested_resource :user_data, class_name: "Latitude::API::Resources::Project::UserData"

  # @!attribute [rw] tags

  #   @return [Array<Latitude::API::Objects::Tag>]

  # @!attribute [rw] name

  #   @return [String]

  # @!attribute [rw] public_key

  #   @return [String]

  # @!attribute [rw] fingerprint

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  # @!attribute [rw] user

  #   @return [Latitude::API::Objects::User]

  class SSHKey < APIResource

    attribute :tags, [Objects::Tag]

    attribute :name, :string

    attribute :public_key, :string

    attribute :fingerprint, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :project, Objects::Project

    attribute :user, Objects::User

    resource_type "ssh_keys"
    resource_path "/projects/:project_id/ssh_keys"
    id_prefix     "ssh_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end

  # @!attribute [rw] description

  #   @return [String]

  # @!attribute [rw] content

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] decoded_content

  #   @return [String]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  class UserData < APIResource

    attribute :description, :string

    attribute :content, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :decoded_content, :string

    attribute :project, Objects::Project

    resource_type "user_data"
    resource_path "/projects/:project_id/user_data"
    id_prefix     "ud_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end
end

#fingerprintObject



# File 'lib/latitude/api/resources/project.rb', line 79


#nameObject



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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# File 'lib/latitude/api/resources/project.rb', line 36

class Project < APIResource
  attribute :tags, [Objects::Tag]
  attribute :name, :string
  attribute :slug, :string
  attribute :description, :string
  attribute :bandwidth_alert, :boolean
  attribute :environment, :string
  attribute :provisioning_type, :string
  attribute :billing_type, :string
  attribute :billing_method, :string
  attribute :billing, Objects::Billing
  attribute :team, Objects::Team
  attribute :stats, Objects::Stats
  attribute :created_at, :time, read_only: true
  attribute :updated_at, :time, read_only: true
  attribute :cost, :string

  resource_type "projects"
  resource_path "/projects"
  id_prefix     "proj_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete
  extend Operations::Nested

  nested_resource :ssh_keys,  class_name: "Latitude::API::Resources::Project::SSHKey"
  nested_resource :user_data, class_name: "Latitude::API::Resources::Project::UserData"

  # @!attribute [rw] tags

  #   @return [Array<Latitude::API::Objects::Tag>]

  # @!attribute [rw] name

  #   @return [String]

  # @!attribute [rw] public_key

  #   @return [String]

  # @!attribute [rw] fingerprint

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  # @!attribute [rw] user

  #   @return [Latitude::API::Objects::User]

  class SSHKey < APIResource

    attribute :tags, [Objects::Tag]

    attribute :name, :string

    attribute :public_key, :string

    attribute :fingerprint, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :project, Objects::Project

    attribute :user, Objects::User

    resource_type "ssh_keys"
    resource_path "/projects/:project_id/ssh_keys"
    id_prefix     "ssh_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end

  # @!attribute [rw] description

  #   @return [String]

  # @!attribute [rw] content

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] decoded_content

  #   @return [String]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  class UserData < APIResource

    attribute :description, :string

    attribute :content, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :decoded_content, :string

    attribute :project, Objects::Project

    resource_type "user_data"
    resource_path "/projects/:project_id/user_data"
    id_prefix     "ud_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end
end

#projectObject



# File 'lib/latitude/api/resources/project.rb', line 91


#provisioning_typeString

Returns:



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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# File 'lib/latitude/api/resources/project.rb', line 36

class Project < APIResource
  attribute :tags, [Objects::Tag]
  attribute :name, :string
  attribute :slug, :string
  attribute :description, :string
  attribute :bandwidth_alert, :boolean
  attribute :environment, :string
  attribute :provisioning_type, :string
  attribute :billing_type, :string
  attribute :billing_method, :string
  attribute :billing, Objects::Billing
  attribute :team, Objects::Team
  attribute :stats, Objects::Stats
  attribute :created_at, :time, read_only: true
  attribute :updated_at, :time, read_only: true
  attribute :cost, :string

  resource_type "projects"
  resource_path "/projects"
  id_prefix     "proj_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete
  extend Operations::Nested

  nested_resource :ssh_keys,  class_name: "Latitude::API::Resources::Project::SSHKey"
  nested_resource :user_data, class_name: "Latitude::API::Resources::Project::UserData"

  # @!attribute [rw] tags

  #   @return [Array<Latitude::API::Objects::Tag>]

  # @!attribute [rw] name

  #   @return [String]

  # @!attribute [rw] public_key

  #   @return [String]

  # @!attribute [rw] fingerprint

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  # @!attribute [rw] user

  #   @return [Latitude::API::Objects::User]

  class SSHKey < APIResource

    attribute :tags, [Objects::Tag]

    attribute :name, :string

    attribute :public_key, :string

    attribute :fingerprint, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :project, Objects::Project

    attribute :user, Objects::User

    resource_type "ssh_keys"
    resource_path "/projects/:project_id/ssh_keys"
    id_prefix     "ssh_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end

  # @!attribute [rw] description

  #   @return [String]

  # @!attribute [rw] content

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] decoded_content

  #   @return [String]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  class UserData < APIResource

    attribute :description, :string

    attribute :content, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :decoded_content, :string

    attribute :project, Objects::Project

    resource_type "user_data"
    resource_path "/projects/:project_id/user_data"
    id_prefix     "ud_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end
end

#public_keyObject



# File 'lib/latitude/api/resources/project.rb', line 75


#slugString

Returns:



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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# File 'lib/latitude/api/resources/project.rb', line 36

class Project < APIResource
  attribute :tags, [Objects::Tag]
  attribute :name, :string
  attribute :slug, :string
  attribute :description, :string
  attribute :bandwidth_alert, :boolean
  attribute :environment, :string
  attribute :provisioning_type, :string
  attribute :billing_type, :string
  attribute :billing_method, :string
  attribute :billing, Objects::Billing
  attribute :team, Objects::Team
  attribute :stats, Objects::Stats
  attribute :created_at, :time, read_only: true
  attribute :updated_at, :time, read_only: true
  attribute :cost, :string

  resource_type "projects"
  resource_path "/projects"
  id_prefix     "proj_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete
  extend Operations::Nested

  nested_resource :ssh_keys,  class_name: "Latitude::API::Resources::Project::SSHKey"
  nested_resource :user_data, class_name: "Latitude::API::Resources::Project::UserData"

  # @!attribute [rw] tags

  #   @return [Array<Latitude::API::Objects::Tag>]

  # @!attribute [rw] name

  #   @return [String]

  # @!attribute [rw] public_key

  #   @return [String]

  # @!attribute [rw] fingerprint

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  # @!attribute [rw] user

  #   @return [Latitude::API::Objects::User]

  class SSHKey < APIResource

    attribute :tags, [Objects::Tag]

    attribute :name, :string

    attribute :public_key, :string

    attribute :fingerprint, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :project, Objects::Project

    attribute :user, Objects::User

    resource_type "ssh_keys"
    resource_path "/projects/:project_id/ssh_keys"
    id_prefix     "ssh_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end

  # @!attribute [rw] description

  #   @return [String]

  # @!attribute [rw] content

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] decoded_content

  #   @return [String]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  class UserData < APIResource

    attribute :description, :string

    attribute :content, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :decoded_content, :string

    attribute :project, Objects::Project

    resource_type "user_data"
    resource_path "/projects/:project_id/user_data"
    id_prefix     "ud_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end
end

#statsLatitude::API::Objects::Stats

Returns:



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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# File 'lib/latitude/api/resources/project.rb', line 36

class Project < APIResource
  attribute :tags, [Objects::Tag]
  attribute :name, :string
  attribute :slug, :string
  attribute :description, :string
  attribute :bandwidth_alert, :boolean
  attribute :environment, :string
  attribute :provisioning_type, :string
  attribute :billing_type, :string
  attribute :billing_method, :string
  attribute :billing, Objects::Billing
  attribute :team, Objects::Team
  attribute :stats, Objects::Stats
  attribute :created_at, :time, read_only: true
  attribute :updated_at, :time, read_only: true
  attribute :cost, :string

  resource_type "projects"
  resource_path "/projects"
  id_prefix     "proj_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete
  extend Operations::Nested

  nested_resource :ssh_keys,  class_name: "Latitude::API::Resources::Project::SSHKey"
  nested_resource :user_data, class_name: "Latitude::API::Resources::Project::UserData"

  # @!attribute [rw] tags

  #   @return [Array<Latitude::API::Objects::Tag>]

  # @!attribute [rw] name

  #   @return [String]

  # @!attribute [rw] public_key

  #   @return [String]

  # @!attribute [rw] fingerprint

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  # @!attribute [rw] user

  #   @return [Latitude::API::Objects::User]

  class SSHKey < APIResource

    attribute :tags, [Objects::Tag]

    attribute :name, :string

    attribute :public_key, :string

    attribute :fingerprint, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :project, Objects::Project

    attribute :user, Objects::User

    resource_type "ssh_keys"
    resource_path "/projects/:project_id/ssh_keys"
    id_prefix     "ssh_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end

  # @!attribute [rw] description

  #   @return [String]

  # @!attribute [rw] content

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] decoded_content

  #   @return [String]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  class UserData < APIResource

    attribute :description, :string

    attribute :content, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :decoded_content, :string

    attribute :project, Objects::Project

    resource_type "user_data"
    resource_path "/projects/:project_id/user_data"
    id_prefix     "ud_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end
end

#tagsObject



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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# File 'lib/latitude/api/resources/project.rb', line 36

class Project < APIResource
  attribute :tags, [Objects::Tag]
  attribute :name, :string
  attribute :slug, :string
  attribute :description, :string
  attribute :bandwidth_alert, :boolean
  attribute :environment, :string
  attribute :provisioning_type, :string
  attribute :billing_type, :string
  attribute :billing_method, :string
  attribute :billing, Objects::Billing
  attribute :team, Objects::Team
  attribute :stats, Objects::Stats
  attribute :created_at, :time, read_only: true
  attribute :updated_at, :time, read_only: true
  attribute :cost, :string

  resource_type "projects"
  resource_path "/projects"
  id_prefix     "proj_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete
  extend Operations::Nested

  nested_resource :ssh_keys,  class_name: "Latitude::API::Resources::Project::SSHKey"
  nested_resource :user_data, class_name: "Latitude::API::Resources::Project::UserData"

  # @!attribute [rw] tags

  #   @return [Array<Latitude::API::Objects::Tag>]

  # @!attribute [rw] name

  #   @return [String]

  # @!attribute [rw] public_key

  #   @return [String]

  # @!attribute [rw] fingerprint

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  # @!attribute [rw] user

  #   @return [Latitude::API::Objects::User]

  class SSHKey < APIResource

    attribute :tags, [Objects::Tag]

    attribute :name, :string

    attribute :public_key, :string

    attribute :fingerprint, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :project, Objects::Project

    attribute :user, Objects::User

    resource_type "ssh_keys"
    resource_path "/projects/:project_id/ssh_keys"
    id_prefix     "ssh_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end

  # @!attribute [rw] description

  #   @return [String]

  # @!attribute [rw] content

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] decoded_content

  #   @return [String]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  class UserData < APIResource

    attribute :description, :string

    attribute :content, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :decoded_content, :string

    attribute :project, Objects::Project

    resource_type "user_data"
    resource_path "/projects/:project_id/user_data"
    id_prefix     "ud_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end
end

#teamLatitude::API::Objects::Team

Returns:



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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# File 'lib/latitude/api/resources/project.rb', line 36

class Project < APIResource
  attribute :tags, [Objects::Tag]
  attribute :name, :string
  attribute :slug, :string
  attribute :description, :string
  attribute :bandwidth_alert, :boolean
  attribute :environment, :string
  attribute :provisioning_type, :string
  attribute :billing_type, :string
  attribute :billing_method, :string
  attribute :billing, Objects::Billing
  attribute :team, Objects::Team
  attribute :stats, Objects::Stats
  attribute :created_at, :time, read_only: true
  attribute :updated_at, :time, read_only: true
  attribute :cost, :string

  resource_type "projects"
  resource_path "/projects"
  id_prefix     "proj_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete
  extend Operations::Nested

  nested_resource :ssh_keys,  class_name: "Latitude::API::Resources::Project::SSHKey"
  nested_resource :user_data, class_name: "Latitude::API::Resources::Project::UserData"

  # @!attribute [rw] tags

  #   @return [Array<Latitude::API::Objects::Tag>]

  # @!attribute [rw] name

  #   @return [String]

  # @!attribute [rw] public_key

  #   @return [String]

  # @!attribute [rw] fingerprint

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  # @!attribute [rw] user

  #   @return [Latitude::API::Objects::User]

  class SSHKey < APIResource

    attribute :tags, [Objects::Tag]

    attribute :name, :string

    attribute :public_key, :string

    attribute :fingerprint, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :project, Objects::Project

    attribute :user, Objects::User

    resource_type "ssh_keys"
    resource_path "/projects/:project_id/ssh_keys"
    id_prefix     "ssh_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end

  # @!attribute [rw] description

  #   @return [String]

  # @!attribute [rw] content

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] decoded_content

  #   @return [String]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  class UserData < APIResource

    attribute :description, :string

    attribute :content, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :decoded_content, :string

    attribute :project, Objects::Project

    resource_type "user_data"
    resource_path "/projects/:project_id/user_data"
    id_prefix     "ud_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end
end

#updated_atObject (readonly)



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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# File 'lib/latitude/api/resources/project.rb', line 36

class Project < APIResource
  attribute :tags, [Objects::Tag]
  attribute :name, :string
  attribute :slug, :string
  attribute :description, :string
  attribute :bandwidth_alert, :boolean
  attribute :environment, :string
  attribute :provisioning_type, :string
  attribute :billing_type, :string
  attribute :billing_method, :string
  attribute :billing, Objects::Billing
  attribute :team, Objects::Team
  attribute :stats, Objects::Stats
  attribute :created_at, :time, read_only: true
  attribute :updated_at, :time, read_only: true
  attribute :cost, :string

  resource_type "projects"
  resource_path "/projects"
  id_prefix     "proj_"

  extend Operations::List
  extend Operations::Create
  extend Operations::Retrieve
  extend Operations::Update
  extend Operations::Delete
  extend Operations::Nested

  nested_resource :ssh_keys,  class_name: "Latitude::API::Resources::Project::SSHKey"
  nested_resource :user_data, class_name: "Latitude::API::Resources::Project::UserData"

  # @!attribute [rw] tags

  #   @return [Array<Latitude::API::Objects::Tag>]

  # @!attribute [rw] name

  #   @return [String]

  # @!attribute [rw] public_key

  #   @return [String]

  # @!attribute [rw] fingerprint

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  # @!attribute [rw] user

  #   @return [Latitude::API::Objects::User]

  class SSHKey < APIResource

    attribute :tags, [Objects::Tag]

    attribute :name, :string

    attribute :public_key, :string

    attribute :fingerprint, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :project, Objects::Project

    attribute :user, Objects::User

    resource_type "ssh_keys"
    resource_path "/projects/:project_id/ssh_keys"
    id_prefix     "ssh_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end

  # @!attribute [rw] description

  #   @return [String]

  # @!attribute [rw] content

  #   @return [String]

  # @!attribute [r] created_at

  #   @return [Time]

  # @!attribute [r] updated_at

  #   @return [Time]

  # @!attribute [rw] decoded_content

  #   @return [String]

  # @!attribute [rw] project

  #   @return [Latitude::API::Objects::Project]

  class UserData < APIResource

    attribute :description, :string

    attribute :content, :string

    attribute :created_at, :time, read_only: true

    attribute :updated_at, :time, read_only: true

    attribute :decoded_content, :string

    attribute :project, Objects::Project

    resource_type "user_data"
    resource_path "/projects/:project_id/user_data"
    id_prefix     "ud_"

    extend Operations::List
    extend Operations::Create
    extend Operations::Retrieve
    extend Operations::Update
    extend Operations::Delete
  end
end

#userObject



# File 'lib/latitude/api/resources/project.rb', line 95