Class: Onlyfans::Models::DataExportListParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/onlyfans/models/data_export_list_params.rb

Overview

Defined Under Namespace

Modules: Status, Type

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(download_url_expires_in: nil, page: nil, per_page: nil, status: nil, type: nil, request_options: {}) ⇒ Object

Parameters:

  • download_url_expires_in (Integer) (defaults to: nil)

    Number of minutes until download URLs expire. Min ‘1`, max `60`, default `5`.

  • page (Integer) (defaults to: nil)

    Page number for pagination. Default ‘1`

  • per_page (Integer) (defaults to: nil)

    Number of results per page. Default ‘15`, max `100`

  • status (Symbol, Onlyfans::Models::DataExportListParams::Status) (defaults to: nil)

    Filter by status

  • type (Symbol, Onlyfans::Models::DataExportListParams::Type) (defaults to: nil)

    Filter by export type

  • request_options (Onlyfans::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


# File 'lib/onlyfans/models/data_export_list_params.rb', line 40

Instance Attribute Details

#download_url_expires_inInteger?

Number of minutes until download URLs expire. Min ‘1`, max `60`, default `5`.

Returns:

  • (Integer, nil)


14
# File 'lib/onlyfans/models/data_export_list_params.rb', line 14

optional :download_url_expires_in, Integer

#pageInteger?

Page number for pagination. Default ‘1`

Returns:

  • (Integer, nil)


20
# File 'lib/onlyfans/models/data_export_list_params.rb', line 20

optional :page, Integer

#per_pageInteger?

Number of results per page. Default ‘15`, max `100`

Returns:

  • (Integer, nil)


26
# File 'lib/onlyfans/models/data_export_list_params.rb', line 26

optional :per_page, Integer

#statusSymbol, ...

Filter by status



32
# File 'lib/onlyfans/models/data_export_list_params.rb', line 32

optional :status, enum: -> { Onlyfans::DataExportListParams::Status }

#typeSymbol, ...

Filter by export type



38
# File 'lib/onlyfans/models/data_export_list_params.rb', line 38

optional :type, enum: -> { Onlyfans::DataExportListParams::Type }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/onlyfans/models/data_export_list_params.rb', line 65