Class: FinchAPI::Models::Sandbox::DirectoryCreateParams

Inherits:
BaseModel
  • Object
show all
Includes:
Type::RequestParameters
Defined in:
lib/finch-api/models/sandbox/directory_create_params.rb

Defined Under Namespace

Classes: Body

Instance Attribute Summary collapse

Attributes included from Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Type::RequestParameters

included

Constructor Details

#initialize(body: nil, request_options: {}) ⇒ DirectoryCreateParams

Returns a new instance of DirectoryCreateParams.

Parameters:



4
# File 'lib/finch-api/models/sandbox/directory_create_params.rb', line 4

def initialize(body: nil, request_options: {}, **) = super

Instance Attribute Details

#bodyArray<FinchAPI::Models::Sandbox::DirectoryCreateParams::Body>?

Array of individuals to create. Takes all combined fields from ‘/individual` and

`/employment` endpoints. All fields are optional.


16
# File 'lib/finch-api/models/sandbox/directory_create_params.rb', line 16

optional :body, -> { FinchAPI::ArrayOf[FinchAPI::Models::Sandbox::DirectoryCreateParams::Body] }