Class: SupportOps::GitLab::GroupMemberships
- Defined in:
- lib/support_ops_gitlab/gitlab/group_memberships.rb
Overview
Defines the class GroupMemberships within the module SupportOps::GitLab.
Instance Attribute Summary collapse
-
#access_level ⇒ Integer
The membership level.
-
#avatar_url ⇒ String
URL of the user’s avatar.
-
#created_at ⇒ String
The time the membership was created at.
-
#created_by ⇒ Hash
A hash containing information on who created the membership.
-
#email ⇒ String
The email of the user.
-
#expires_at ⇒ String
The timestamp when the membership expires.
-
#group_saml_identity ⇒ Hash
A hash containing the group’s SAML information tied to the membership.
-
#id ⇒ Integer
The user’s ID.
-
#name ⇒ String
The name of the user.
-
#state ⇒ String
The state of the membership, can be awaiting or active.
-
#username ⇒ String
The username of the user.
-
#web_url ⇒ String
The web URL of theuser.
Method Summary
Methods inherited from Base
#activate!, #approve!, attributes, #badges, #ban!, #block!, client, #client=, #commits, configure, #contributors, #create_support_pin!, #deactivate!, define_attributes, #delete!, #diffs, #disable_2fa!, #discussions, #emails, #encoded_path, #events, #find, #find!, #gpg_keys, #hard_delete!, #impersonations, #initialize, #issues, #jobs, #latest_pipeline, #members, #memberships, #merge_requests, #move!, #notes, #paid?, #pats, #pipeline_variables, #pipelines, #preferences, #projects, readonly_attributes, #reject!, #revoke!, #rotate!, #save!, #ssh_keys, #status, #store_original_attributes, #subscribe!, #support_pin, to_hash, #tokens, #unban!, #unblock!, #unsubscribe!, #webhooks
Constructor Details
This class inherits a constructor from SupportOps::GitLab::Base
Instance Attribute Details
#access_level ⇒ Integer
The membership level
24 25 26 |
# File 'lib/support_ops_gitlab/gitlab/group_memberships.rb', line 24 def access_level @access_level end |
#avatar_url ⇒ String
URL of the user’s avatar
24 25 26 |
# File 'lib/support_ops_gitlab/gitlab/group_memberships.rb', line 24 def avatar_url @avatar_url end |
#created_at ⇒ String
The time the membership was created at
24 25 26 |
# File 'lib/support_ops_gitlab/gitlab/group_memberships.rb', line 24 def created_at @created_at end |
#created_by ⇒ Hash
A hash containing information on who created the membership
24 25 26 |
# File 'lib/support_ops_gitlab/gitlab/group_memberships.rb', line 24 def created_by @created_by end |
#email ⇒ String
The email of the user
24 25 26 |
# File 'lib/support_ops_gitlab/gitlab/group_memberships.rb', line 24 def email @email end |
#expires_at ⇒ String
The timestamp when the membership expires
24 25 26 |
# File 'lib/support_ops_gitlab/gitlab/group_memberships.rb', line 24 def expires_at @expires_at end |
#group_saml_identity ⇒ Hash
A hash containing the group’s SAML information tied to the membership
24 25 26 |
# File 'lib/support_ops_gitlab/gitlab/group_memberships.rb', line 24 def group_saml_identity @group_saml_identity end |
#id ⇒ Integer
The user’s ID
24 25 26 |
# File 'lib/support_ops_gitlab/gitlab/group_memberships.rb', line 24 def id @id end |
#name ⇒ String
The name of the user
24 25 26 |
# File 'lib/support_ops_gitlab/gitlab/group_memberships.rb', line 24 def name @name end |
#state ⇒ String
The state of the membership, can be awaiting or active
24 25 26 |
# File 'lib/support_ops_gitlab/gitlab/group_memberships.rb', line 24 def state @state end |
#username ⇒ String
The username of the user
24 25 26 |
# File 'lib/support_ops_gitlab/gitlab/group_memberships.rb', line 24 def username @username end |
#web_url ⇒ String
The web URL of theuser
24 25 26 |
# File 'lib/support_ops_gitlab/gitlab/group_memberships.rb', line 24 def web_url @web_url end |