Class: Etna::Clients::Janus::UpdatePermissionRequest

Inherits:
Struct
  • Object
show all
Includes:
JsonSerializableStruct
Defined in:
lib/etna/clients/janus/models.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from JsonSerializableStruct

#as_json, included, #to_json

Constructor Details

#initialize(**params) ⇒ UpdatePermissionRequest

Returns a new instance of UpdatePermissionRequest.



37
38
39
# File 'lib/etna/clients/janus/models.rb', line 37

def initialize(**params)
  super({privileged: false, affiliation: ''}.update(params))
end

Instance Attribute Details

#affiliationObject

Returns the value of attribute affiliation

Returns:

  • (Object)

    the current value of affiliation



34
35
36
# File 'lib/etna/clients/janus/models.rb', line 34

def affiliation
  @affiliation
end

#emailObject

Returns the value of attribute email

Returns:

  • (Object)

    the current value of email



34
35
36
# File 'lib/etna/clients/janus/models.rb', line 34

def email
  @email
end

#privilegedObject

Returns the value of attribute privileged

Returns:

  • (Object)

    the current value of privileged



34
35
36
# File 'lib/etna/clients/janus/models.rb', line 34

def privileged
  @privileged
end

#project_nameObject

Returns the value of attribute project_name

Returns:

  • (Object)

    the current value of project_name



34
35
36
# File 'lib/etna/clients/janus/models.rb', line 34

def project_name
  @project_name
end

#roleObject

Returns the value of attribute role

Returns:

  • (Object)

    the current value of role



34
35
36
# File 'lib/etna/clients/janus/models.rb', line 34

def role
  @role
end