Class: Fizzy::Types::BoardAccessUser

Inherits:
Data
  • Object
show all
Defined in:
lib/fizzy/generated/types.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#activeObject (readonly)

Returns the value of attribute active

Returns:

  • (Object)

    the current value of active



176
177
178
# File 'lib/fizzy/generated/types.rb', line 176

def active
  @active
end

#avatar_urlObject (readonly)

Returns the value of attribute avatar_url

Returns:

  • (Object)

    the current value of avatar_url



176
177
178
# File 'lib/fizzy/generated/types.rb', line 176

def avatar_url
  @avatar_url
end

#created_atObject (readonly)

Returns the value of attribute created_at

Returns:

  • (Object)

    the current value of created_at



176
177
178
# File 'lib/fizzy/generated/types.rb', line 176

def created_at
  @created_at
end

#email_addressObject (readonly)

Returns the value of attribute email_address

Returns:

  • (Object)

    the current value of email_address



176
177
178
# File 'lib/fizzy/generated/types.rb', line 176

def email_address
  @email_address
end

#has_accessObject (readonly)

Returns the value of attribute has_access

Returns:

  • (Object)

    the current value of has_access



176
177
178
# File 'lib/fizzy/generated/types.rb', line 176

def has_access
  @has_access
end

#idObject (readonly)

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



176
177
178
# File 'lib/fizzy/generated/types.rb', line 176

def id
  @id
end

#involvementObject (readonly)

Returns the value of attribute involvement

Returns:

  • (Object)

    the current value of involvement



176
177
178
# File 'lib/fizzy/generated/types.rb', line 176

def involvement
  @involvement
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



176
177
178
# File 'lib/fizzy/generated/types.rb', line 176

def name
  @name
end

#roleObject (readonly)

Returns the value of attribute role

Returns:

  • (Object)

    the current value of role



176
177
178
# File 'lib/fizzy/generated/types.rb', line 176

def role
  @role
end

#urlObject (readonly)

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



176
177
178
# File 'lib/fizzy/generated/types.rb', line 176

def url
  @url
end

Class Method Details

.from_json(data) ⇒ Object

Parameters:

  • data (Hash)

    raw JSON response



178
179
180
181
182
183
184
185
186
187
188
189
190
191
# File 'lib/fizzy/generated/types.rb', line 178

def self.from_json(data)
  new(
    id: data["id"],
    name: data["name"],
    role: data["role"],
    active: data["active"],
    email_address: data["email_address"],
    created_at: data["created_at"],
    url: data["url"],
    avatar_url: data["avatar_url"],
    has_access: data["has_access"],
    involvement: data["involvement"]
  )
end