GoodMemGoodMem
ReferenceSdkRustTypes

DecisionModelsListOptions

Rust struct goodmem::api::DecisionModelsListOptions: declaration, fields or variants, and implementations.

All types

Struct DecisionModelsListOptions

goodmem::api::DecisionModelsListOptions

Query parameters and headers for decision_models.list.

pub struct DecisionModelsListOptions {
    pub owner_id: Option<String>,
    pub provider_type: Option<DecisionModelProviderType>,
    pub page_size: Option<i32>,
    pub page_token: Option<String>,
    pub label: Option<BTreeMap<String, String>>,
}

Referenced types: DecisionModelProviderType.

Fields

owner_id

pub owner_id: Option<String>

Return only decision models owned by this principal UUID. Wire name: ownerId.

provider_type

pub provider_type: Option<DecisionModelProviderType>

Return only decision models that use this provider. Wire name: providerType.

page_size

pub page_size: Option<i32>

Maximum number of models to return, from 1 to 1000. Omit this parameter or use 0 for 50. Wire name: pageSize.

page_token

pub page_token: Option<String>

Use nextPageToken from the previous response to request the next page. Keep the filters and pageSize unchanged. Wire name: pageToken.

label

pub label: Option<BTreeMap<String, String>>

Filter by label key-value pairs. Label filters accept either label.<key>=<value> or label[key]=value (for example, label.environment=production or label[environment]=production). Wire name: label.

Trait implementations

  • Clone (derived)
  • Debug (derived)
  • Default (derived)
  • Serialize (derived)

On this page