Sha256: f373bd6497df433c149a195cb0f3bee8fa821c70702e15c8ef5a97c2b46306e2

Contents?: true

Size: 1.98 KB

Versions: 17

Compression:

Stored size: 1.98 KB

Contents

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  

    class IamPolicy < ::StackOne::Utils::FieldAugmented
      extend T::Sig


      field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }

      field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('description') } }
      # Unique identifier
      field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
      # The name of the policy.
      field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
      # The set of permissions associated with the policy.
      field :permissions, T.nilable(T::Array[::StackOne::Shared::IamPermission]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('permissions') } }
      # Provider's unique identifier
      field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }

      field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }


      sig { params(created_at: T.nilable(::DateTime), description: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), permissions: T.nilable(T::Array[::StackOne::Shared::IamPermission]), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
      def initialize(created_at: nil, description: nil, id: nil, name: nil, permissions: nil, remote_id: nil, updated_at: nil)
        @created_at = created_at
        @description = description
        @id = id
        @name = name
        @permissions = permissions
        @remote_id = remote_id
        @updated_at = updated_at
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
stackone_client-0.3.3 lib/stack_one/models/shared/iampolicy.rb
stackone_client-0.3.2 lib/stack_one/models/shared/iampolicy.rb
stackone_client-0.3.1 lib/stack_one/models/shared/iampolicy.rb
stackone_client-0.3.0 lib/stack_one/models/shared/iampolicy.rb
stackone_client-0.2.46 lib/stack_one/models/shared/iampolicy.rb
stackone_client-0.2.45 lib/stack_one/models/shared/iampolicy.rb
stackone_client-0.2.44 lib/stack_one/models/shared/iampolicy.rb
stackone_client-0.2.43 lib/stack_one/models/shared/iampolicy.rb
stackone_client-0.2.42 lib/stack_one/models/shared/iampolicy.rb
stackone_client-0.2.41 lib/stack_one/models/shared/iampolicy.rb
stackone_client-0.2.40 lib/stack_one/models/shared/iampolicy.rb
stackone_client-0.2.39 lib/stack_one/models/shared/iampolicy.rb
stackone_client-0.2.38 lib/stack_one/models/shared/iampolicy.rb
stackone_client-0.2.37 lib/stack_one/models/shared/iampolicy.rb
stackone_client-0.2.36 lib/stack_one/models/shared/iampolicy.rb
stackone_client-0.2.35 lib/stack_one/models/shared/iampolicy.rb
stackone_client-0.2.34 lib/stack_one/models/shared/iampolicy.rb