Class: Latitude::API::Resources::UserTeam
Defined Under Namespace
Classes: User
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
all, list
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
#attribute, #attribute_specs
#attribute_spec, #read_attribute, #wrap_attribute
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class Latitude::API::APIResource
Instance Attribute Details
#address ⇒ String
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/latitude/api/resources/user_team.rb', line 40
class UserTeam < APIResource
class User < APIObject
attribute :id, :string, read_only: true
attribute :first_name, :string, read_only: true
attribute :last_name, :string, read_only: true
attribute :email, :string, read_only: true
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :role, Objects::Role, read_only: true
end
attribute :name, :string
attribute :slug, :string
attribute :address, :string
attribute :currency, :string
attribute :enforce_mfa, :boolean
attribute :referred_code, :string
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :status, :string
attribute :users, [User]
attribute :projects, :array
attribute :owner, Objects::User
attribute :billing, Objects::Billing
attribute :feature_flags, :array
attribute :limits, Objects::Limits
attribute :token, :string
attribute :customer_billing_id, :string
resource_type "teams"
resource_path "/user/teams"
extend Operations::List
end
|
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/latitude/api/resources/user_team.rb', line 40
class UserTeam < APIResource
class User < APIObject
attribute :id, :string, read_only: true
attribute :first_name, :string, read_only: true
attribute :last_name, :string, read_only: true
attribute :email, :string, read_only: true
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :role, Objects::Role, read_only: true
end
attribute :name, :string
attribute :slug, :string
attribute :address, :string
attribute :currency, :string
attribute :enforce_mfa, :boolean
attribute :referred_code, :string
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :status, :string
attribute :users, [User]
attribute :projects, :array
attribute :owner, Objects::User
attribute :billing, Objects::Billing
attribute :feature_flags, :array
attribute :limits, Objects::Limits
attribute :token, :string
attribute :customer_billing_id, :string
resource_type "teams"
resource_path "/user/teams"
extend Operations::List
end
|
#created_at ⇒ Time
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/latitude/api/resources/user_team.rb', line 40
class UserTeam < APIResource
class User < APIObject
attribute :id, :string, read_only: true
attribute :first_name, :string, read_only: true
attribute :last_name, :string, read_only: true
attribute :email, :string, read_only: true
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :role, Objects::Role, read_only: true
end
attribute :name, :string
attribute :slug, :string
attribute :address, :string
attribute :currency, :string
attribute :enforce_mfa, :boolean
attribute :referred_code, :string
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :status, :string
attribute :users, [User]
attribute :projects, :array
attribute :owner, Objects::User
attribute :billing, Objects::Billing
attribute :feature_flags, :array
attribute :limits, Objects::Limits
attribute :token, :string
attribute :customer_billing_id, :string
resource_type "teams"
resource_path "/user/teams"
extend Operations::List
end
|
#currency ⇒ String
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/latitude/api/resources/user_team.rb', line 40
class UserTeam < APIResource
class User < APIObject
attribute :id, :string, read_only: true
attribute :first_name, :string, read_only: true
attribute :last_name, :string, read_only: true
attribute :email, :string, read_only: true
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :role, Objects::Role, read_only: true
end
attribute :name, :string
attribute :slug, :string
attribute :address, :string
attribute :currency, :string
attribute :enforce_mfa, :boolean
attribute :referred_code, :string
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :status, :string
attribute :users, [User]
attribute :projects, :array
attribute :owner, Objects::User
attribute :billing, Objects::Billing
attribute :feature_flags, :array
attribute :limits, Objects::Limits
attribute :token, :string
attribute :customer_billing_id, :string
resource_type "teams"
resource_path "/user/teams"
extend Operations::List
end
|
#customer_billing_id ⇒ String
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/latitude/api/resources/user_team.rb', line 40
class UserTeam < APIResource
class User < APIObject
attribute :id, :string, read_only: true
attribute :first_name, :string, read_only: true
attribute :last_name, :string, read_only: true
attribute :email, :string, read_only: true
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :role, Objects::Role, read_only: true
end
attribute :name, :string
attribute :slug, :string
attribute :address, :string
attribute :currency, :string
attribute :enforce_mfa, :boolean
attribute :referred_code, :string
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :status, :string
attribute :users, [User]
attribute :projects, :array
attribute :owner, Objects::User
attribute :billing, Objects::Billing
attribute :feature_flags, :array
attribute :limits, Objects::Limits
attribute :token, :string
attribute :customer_billing_id, :string
resource_type "teams"
resource_path "/user/teams"
extend Operations::List
end
|
#enforce_mfa ⇒ Boolean
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/latitude/api/resources/user_team.rb', line 40
class UserTeam < APIResource
class User < APIObject
attribute :id, :string, read_only: true
attribute :first_name, :string, read_only: true
attribute :last_name, :string, read_only: true
attribute :email, :string, read_only: true
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :role, Objects::Role, read_only: true
end
attribute :name, :string
attribute :slug, :string
attribute :address, :string
attribute :currency, :string
attribute :enforce_mfa, :boolean
attribute :referred_code, :string
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :status, :string
attribute :users, [User]
attribute :projects, :array
attribute :owner, Objects::User
attribute :billing, Objects::Billing
attribute :feature_flags, :array
attribute :limits, Objects::Limits
attribute :token, :string
attribute :customer_billing_id, :string
resource_type "teams"
resource_path "/user/teams"
extend Operations::List
end
|
#feature_flags ⇒ Array
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/latitude/api/resources/user_team.rb', line 40
class UserTeam < APIResource
class User < APIObject
attribute :id, :string, read_only: true
attribute :first_name, :string, read_only: true
attribute :last_name, :string, read_only: true
attribute :email, :string, read_only: true
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :role, Objects::Role, read_only: true
end
attribute :name, :string
attribute :slug, :string
attribute :address, :string
attribute :currency, :string
attribute :enforce_mfa, :boolean
attribute :referred_code, :string
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :status, :string
attribute :users, [User]
attribute :projects, :array
attribute :owner, Objects::User
attribute :billing, Objects::Billing
attribute :feature_flags, :array
attribute :limits, Objects::Limits
attribute :token, :string
attribute :customer_billing_id, :string
resource_type "teams"
resource_path "/user/teams"
extend Operations::List
end
|
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/latitude/api/resources/user_team.rb', line 40
class UserTeam < APIResource
class User < APIObject
attribute :id, :string, read_only: true
attribute :first_name, :string, read_only: true
attribute :last_name, :string, read_only: true
attribute :email, :string, read_only: true
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :role, Objects::Role, read_only: true
end
attribute :name, :string
attribute :slug, :string
attribute :address, :string
attribute :currency, :string
attribute :enforce_mfa, :boolean
attribute :referred_code, :string
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :status, :string
attribute :users, [User]
attribute :projects, :array
attribute :owner, Objects::User
attribute :billing, Objects::Billing
attribute :feature_flags, :array
attribute :limits, Objects::Limits
attribute :token, :string
attribute :customer_billing_id, :string
resource_type "teams"
resource_path "/user/teams"
extend Operations::List
end
|
#name ⇒ String
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/latitude/api/resources/user_team.rb', line 40
class UserTeam < APIResource
class User < APIObject
attribute :id, :string, read_only: true
attribute :first_name, :string, read_only: true
attribute :last_name, :string, read_only: true
attribute :email, :string, read_only: true
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :role, Objects::Role, read_only: true
end
attribute :name, :string
attribute :slug, :string
attribute :address, :string
attribute :currency, :string
attribute :enforce_mfa, :boolean
attribute :referred_code, :string
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :status, :string
attribute :users, [User]
attribute :projects, :array
attribute :owner, Objects::User
attribute :billing, Objects::Billing
attribute :feature_flags, :array
attribute :limits, Objects::Limits
attribute :token, :string
attribute :customer_billing_id, :string
resource_type "teams"
resource_path "/user/teams"
extend Operations::List
end
|
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/latitude/api/resources/user_team.rb', line 40
class UserTeam < APIResource
class User < APIObject
attribute :id, :string, read_only: true
attribute :first_name, :string, read_only: true
attribute :last_name, :string, read_only: true
attribute :email, :string, read_only: true
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :role, Objects::Role, read_only: true
end
attribute :name, :string
attribute :slug, :string
attribute :address, :string
attribute :currency, :string
attribute :enforce_mfa, :boolean
attribute :referred_code, :string
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :status, :string
attribute :users, [User]
attribute :projects, :array
attribute :owner, Objects::User
attribute :billing, Objects::Billing
attribute :feature_flags, :array
attribute :limits, Objects::Limits
attribute :token, :string
attribute :customer_billing_id, :string
resource_type "teams"
resource_path "/user/teams"
extend Operations::List
end
|
#projects ⇒ Array
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/latitude/api/resources/user_team.rb', line 40
class UserTeam < APIResource
class User < APIObject
attribute :id, :string, read_only: true
attribute :first_name, :string, read_only: true
attribute :last_name, :string, read_only: true
attribute :email, :string, read_only: true
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :role, Objects::Role, read_only: true
end
attribute :name, :string
attribute :slug, :string
attribute :address, :string
attribute :currency, :string
attribute :enforce_mfa, :boolean
attribute :referred_code, :string
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :status, :string
attribute :users, [User]
attribute :projects, :array
attribute :owner, Objects::User
attribute :billing, Objects::Billing
attribute :feature_flags, :array
attribute :limits, Objects::Limits
attribute :token, :string
attribute :customer_billing_id, :string
resource_type "teams"
resource_path "/user/teams"
extend Operations::List
end
|
#referred_code ⇒ String
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/latitude/api/resources/user_team.rb', line 40
class UserTeam < APIResource
class User < APIObject
attribute :id, :string, read_only: true
attribute :first_name, :string, read_only: true
attribute :last_name, :string, read_only: true
attribute :email, :string, read_only: true
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :role, Objects::Role, read_only: true
end
attribute :name, :string
attribute :slug, :string
attribute :address, :string
attribute :currency, :string
attribute :enforce_mfa, :boolean
attribute :referred_code, :string
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :status, :string
attribute :users, [User]
attribute :projects, :array
attribute :owner, Objects::User
attribute :billing, Objects::Billing
attribute :feature_flags, :array
attribute :limits, Objects::Limits
attribute :token, :string
attribute :customer_billing_id, :string
resource_type "teams"
resource_path "/user/teams"
extend Operations::List
end
|
#slug ⇒ String
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/latitude/api/resources/user_team.rb', line 40
class UserTeam < APIResource
class User < APIObject
attribute :id, :string, read_only: true
attribute :first_name, :string, read_only: true
attribute :last_name, :string, read_only: true
attribute :email, :string, read_only: true
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :role, Objects::Role, read_only: true
end
attribute :name, :string
attribute :slug, :string
attribute :address, :string
attribute :currency, :string
attribute :enforce_mfa, :boolean
attribute :referred_code, :string
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :status, :string
attribute :users, [User]
attribute :projects, :array
attribute :owner, Objects::User
attribute :billing, Objects::Billing
attribute :feature_flags, :array
attribute :limits, Objects::Limits
attribute :token, :string
attribute :customer_billing_id, :string
resource_type "teams"
resource_path "/user/teams"
extend Operations::List
end
|
#status ⇒ String
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/latitude/api/resources/user_team.rb', line 40
class UserTeam < APIResource
class User < APIObject
attribute :id, :string, read_only: true
attribute :first_name, :string, read_only: true
attribute :last_name, :string, read_only: true
attribute :email, :string, read_only: true
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :role, Objects::Role, read_only: true
end
attribute :name, :string
attribute :slug, :string
attribute :address, :string
attribute :currency, :string
attribute :enforce_mfa, :boolean
attribute :referred_code, :string
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :status, :string
attribute :users, [User]
attribute :projects, :array
attribute :owner, Objects::User
attribute :billing, Objects::Billing
attribute :feature_flags, :array
attribute :limits, Objects::Limits
attribute :token, :string
attribute :customer_billing_id, :string
resource_type "teams"
resource_path "/user/teams"
extend Operations::List
end
|
#token ⇒ String
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/latitude/api/resources/user_team.rb', line 40
class UserTeam < APIResource
class User < APIObject
attribute :id, :string, read_only: true
attribute :first_name, :string, read_only: true
attribute :last_name, :string, read_only: true
attribute :email, :string, read_only: true
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :role, Objects::Role, read_only: true
end
attribute :name, :string
attribute :slug, :string
attribute :address, :string
attribute :currency, :string
attribute :enforce_mfa, :boolean
attribute :referred_code, :string
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :status, :string
attribute :users, [User]
attribute :projects, :array
attribute :owner, Objects::User
attribute :billing, Objects::Billing
attribute :feature_flags, :array
attribute :limits, Objects::Limits
attribute :token, :string
attribute :customer_billing_id, :string
resource_type "teams"
resource_path "/user/teams"
extend Operations::List
end
|
#updated_at ⇒ Time
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/latitude/api/resources/user_team.rb', line 40
class UserTeam < APIResource
class User < APIObject
attribute :id, :string, read_only: true
attribute :first_name, :string, read_only: true
attribute :last_name, :string, read_only: true
attribute :email, :string, read_only: true
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :role, Objects::Role, read_only: true
end
attribute :name, :string
attribute :slug, :string
attribute :address, :string
attribute :currency, :string
attribute :enforce_mfa, :boolean
attribute :referred_code, :string
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :status, :string
attribute :users, [User]
attribute :projects, :array
attribute :owner, Objects::User
attribute :billing, Objects::Billing
attribute :feature_flags, :array
attribute :limits, Objects::Limits
attribute :token, :string
attribute :customer_billing_id, :string
resource_type "teams"
resource_path "/user/teams"
extend Operations::List
end
|
#users ⇒ Array<User>
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/latitude/api/resources/user_team.rb', line 40
class UserTeam < APIResource
class User < APIObject
attribute :id, :string, read_only: true
attribute :first_name, :string, read_only: true
attribute :last_name, :string, read_only: true
attribute :email, :string, read_only: true
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :role, Objects::Role, read_only: true
end
attribute :name, :string
attribute :slug, :string
attribute :address, :string
attribute :currency, :string
attribute :enforce_mfa, :boolean
attribute :referred_code, :string
attribute :created_at, :time, read_only: true
attribute :updated_at, :time, read_only: true
attribute :status, :string
attribute :users, [User]
attribute :projects, :array
attribute :owner, Objects::User
attribute :billing, Objects::Billing
attribute :feature_flags, :array
attribute :limits, Objects::Limits
attribute :token, :string
attribute :customer_billing_id, :string
resource_type "teams"
resource_path "/user/teams"
extend Operations::List
end
|