Class: Latitude::API::Resources::UserTeam

Inherits:
APIResource
  • Object
show all
Extended by:
Operations::List
Defined in:
lib/latitude/api/resources/user_team.rb

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

Methods included from Operations::List

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

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

#addressString

Returns:

  • (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
    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] first_name
    #   @return [String]
    # @!attribute [r] last_name
    #   @return [String]
    # @!attribute [r] email
    #   @return [String]
    # @!attribute [r] created_at
    #   @return [Time]
    # @!attribute [r] updated_at
    #   @return [Time]
    # @!attribute [r] role
    #   @return [Latitude::API::Objects::Role]
  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

#billingLatitude::API::Objects::Billing



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
    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] first_name
    #   @return [String]
    # @!attribute [r] last_name
    #   @return [String]
    # @!attribute [r] email
    #   @return [String]
    # @!attribute [r] created_at
    #   @return [Time]
    # @!attribute [r] updated_at
    #   @return [Time]
    # @!attribute [r] role
    #   @return [Latitude::API::Objects::Role]
  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_atTime (readonly)

Returns:

  • (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
    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] first_name
    #   @return [String]
    # @!attribute [r] last_name
    #   @return [String]
    # @!attribute [r] email
    #   @return [String]
    # @!attribute [r] created_at
    #   @return [Time]
    # @!attribute [r] updated_at
    #   @return [Time]
    # @!attribute [r] role
    #   @return [Latitude::API::Objects::Role]
  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

#currencyString

Returns:

  • (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
    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] first_name
    #   @return [String]
    # @!attribute [r] last_name
    #   @return [String]
    # @!attribute [r] email
    #   @return [String]
    # @!attribute [r] created_at
    #   @return [Time]
    # @!attribute [r] updated_at
    #   @return [Time]
    # @!attribute [r] role
    #   @return [Latitude::API::Objects::Role]
  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_idString

Returns:

  • (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
    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] first_name
    #   @return [String]
    # @!attribute [r] last_name
    #   @return [String]
    # @!attribute [r] email
    #   @return [String]
    # @!attribute [r] created_at
    #   @return [Time]
    # @!attribute [r] updated_at
    #   @return [Time]
    # @!attribute [r] role
    #   @return [Latitude::API::Objects::Role]
  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_mfaBoolean

Returns:

  • (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
    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] first_name
    #   @return [String]
    # @!attribute [r] last_name
    #   @return [String]
    # @!attribute [r] email
    #   @return [String]
    # @!attribute [r] created_at
    #   @return [Time]
    # @!attribute [r] updated_at
    #   @return [Time]
    # @!attribute [r] role
    #   @return [Latitude::API::Objects::Role]
  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_flagsArray

Returns:

  • (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
    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] first_name
    #   @return [String]
    # @!attribute [r] last_name
    #   @return [String]
    # @!attribute [r] email
    #   @return [String]
    # @!attribute [r] created_at
    #   @return [Time]
    # @!attribute [r] updated_at
    #   @return [Time]
    # @!attribute [r] role
    #   @return [Latitude::API::Objects::Role]
  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

#limitsLatitude::API::Objects::Limits



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
    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] first_name
    #   @return [String]
    # @!attribute [r] last_name
    #   @return [String]
    # @!attribute [r] email
    #   @return [String]
    # @!attribute [r] created_at
    #   @return [Time]
    # @!attribute [r] updated_at
    #   @return [Time]
    # @!attribute [r] role
    #   @return [Latitude::API::Objects::Role]
  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

#nameString

Returns:

  • (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
    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] first_name
    #   @return [String]
    # @!attribute [r] last_name
    #   @return [String]
    # @!attribute [r] email
    #   @return [String]
    # @!attribute [r] created_at
    #   @return [Time]
    # @!attribute [r] updated_at
    #   @return [Time]
    # @!attribute [r] role
    #   @return [Latitude::API::Objects::Role]
  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

#ownerLatitude::API::Objects::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
    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] first_name
    #   @return [String]
    # @!attribute [r] last_name
    #   @return [String]
    # @!attribute [r] email
    #   @return [String]
    # @!attribute [r] created_at
    #   @return [Time]
    # @!attribute [r] updated_at
    #   @return [Time]
    # @!attribute [r] role
    #   @return [Latitude::API::Objects::Role]
  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

#projectsArray

Returns:

  • (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
    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] first_name
    #   @return [String]
    # @!attribute [r] last_name
    #   @return [String]
    # @!attribute [r] email
    #   @return [String]
    # @!attribute [r] created_at
    #   @return [Time]
    # @!attribute [r] updated_at
    #   @return [Time]
    # @!attribute [r] role
    #   @return [Latitude::API::Objects::Role]
  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_codeString

Returns:

  • (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
    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] first_name
    #   @return [String]
    # @!attribute [r] last_name
    #   @return [String]
    # @!attribute [r] email
    #   @return [String]
    # @!attribute [r] created_at
    #   @return [Time]
    # @!attribute [r] updated_at
    #   @return [Time]
    # @!attribute [r] role
    #   @return [Latitude::API::Objects::Role]
  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

#slugString

Returns:

  • (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
    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] first_name
    #   @return [String]
    # @!attribute [r] last_name
    #   @return [String]
    # @!attribute [r] email
    #   @return [String]
    # @!attribute [r] created_at
    #   @return [Time]
    # @!attribute [r] updated_at
    #   @return [Time]
    # @!attribute [r] role
    #   @return [Latitude::API::Objects::Role]
  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

#statusString

Returns:

  • (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
    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] first_name
    #   @return [String]
    # @!attribute [r] last_name
    #   @return [String]
    # @!attribute [r] email
    #   @return [String]
    # @!attribute [r] created_at
    #   @return [Time]
    # @!attribute [r] updated_at
    #   @return [Time]
    # @!attribute [r] role
    #   @return [Latitude::API::Objects::Role]
  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

#tokenString

Returns:

  • (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
    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] first_name
    #   @return [String]
    # @!attribute [r] last_name
    #   @return [String]
    # @!attribute [r] email
    #   @return [String]
    # @!attribute [r] created_at
    #   @return [Time]
    # @!attribute [r] updated_at
    #   @return [Time]
    # @!attribute [r] role
    #   @return [Latitude::API::Objects::Role]
  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_atTime (readonly)

Returns:

  • (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
    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] first_name
    #   @return [String]
    # @!attribute [r] last_name
    #   @return [String]
    # @!attribute [r] email
    #   @return [String]
    # @!attribute [r] created_at
    #   @return [Time]
    # @!attribute [r] updated_at
    #   @return [Time]
    # @!attribute [r] role
    #   @return [Latitude::API::Objects::Role]
  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

#usersArray<User>

Returns:



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
    # @!attribute [r] id
    #   @return [String]
    # @!attribute [r] first_name
    #   @return [String]
    # @!attribute [r] last_name
    #   @return [String]
    # @!attribute [r] email
    #   @return [String]
    # @!attribute [r] created_at
    #   @return [Time]
    # @!attribute [r] updated_at
    #   @return [Time]
    # @!attribute [r] role
    #   @return [Latitude::API::Objects::Role]
  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