midas/sdk/netlify/gen

Types

pub type AccessToken {
  AccessToken(
    user_email: Option(String),
    created_at: Option(String),
    user_id: Option(String),
    id: Option(String),
    access_token: Option(String),
  )
}

Constructors

  • AccessToken(
      user_email: Option(String),
      created_at: Option(String),
      user_id: Option(String),
      id: Option(String),
      access_token: Option(String),
    )
pub type AccountAddMemberSetup {
  AccountAddMemberSetup(
    role: Option(String),
    email: Option(String),
  )
}

Constructors

  • AccountAddMemberSetup(
      role: Option(String),
      email: Option(String),
    )
pub type AccountMembership {
  AccountMembership(
    type_id: Option(String),
    payment_method_id: Option(String),
    billing_period: Option(String),
    roles_allowed: Option(List(String)),
    created_at: Option(String),
    name: Option(String),
    slug: Option(String),
    owner_ids: Option(List(String)),
    billing_name: Option(String),
    type_name: Option(String),
    capabilities: Option(Nil),
    updated_at: Option(String),
    billing_email: Option(String),
    type_: Option(String),
    id: Option(String),
    billing_details: Option(String),
  )
}

Constructors

  • AccountMembership(
      type_id: Option(String),
      payment_method_id: Option(String),
      billing_period: Option(String),
      roles_allowed: Option(List(String)),
      created_at: Option(String),
      name: Option(String),
      slug: Option(String),
      owner_ids: Option(List(String)),
      billing_name: Option(String),
      type_name: Option(String),
      capabilities: Option(Nil),
      updated_at: Option(String),
      billing_email: Option(String),
      type_: Option(String),
      id: Option(String),
      billing_details: Option(String),
    )
pub type AccountSetup {
  AccountSetup(
    type_id: Option(String),
    payment_method_id: Option(String),
    period: Option(String),
    name: Option(String),
    extra_seats_block: Option(Int),
  )
}

Constructors

  • AccountSetup(
      type_id: Option(String),
      payment_method_id: Option(String),
      period: Option(String),
      name: Option(String),
      extra_seats_block: Option(Int),
    )
pub type AccountType {
  AccountType(
    monthly_seats_addon_dollar_price: Option(Int),
    yearly_seats_addon_dollar_price: Option(Int),
    name: Option(String),
    capabilities: Option(Nil),
    monthly_dollar_price: Option(Int),
    id: Option(String),
    yearly_dollar_price: Option(Int),
    description: Option(String),
  )
}

Constructors

  • AccountType(
      monthly_seats_addon_dollar_price: Option(Int),
      yearly_seats_addon_dollar_price: Option(Int),
      name: Option(String),
      capabilities: Option(Nil),
      monthly_dollar_price: Option(Int),
      id: Option(String),
      yearly_dollar_price: Option(Int),
      description: Option(String),
    )
pub type AccountUpdateMemberSetup {
  AccountUpdateMemberSetup(
    site_ids: Option(List(String)),
    role: Option(String),
    site_access: Option(String),
  )
}

Constructors

  • AccountUpdateMemberSetup(
      site_ids: Option(List(String)),
      role: Option(String),
      site_access: Option(String),
    )
pub type AccountUpdateSetup {
  AccountUpdateSetup(
    type_id: Option(String),
    name: Option(String),
    slug: Option(String),
    extra_seats_block: Option(Int),
    billing_name: Option(String),
    billing_email: Option(String),
    billing_details: Option(String),
  )
}

Constructors

  • AccountUpdateSetup(
      type_id: Option(String),
      name: Option(String),
      slug: Option(String),
      extra_seats_block: Option(Int),
      billing_name: Option(String),
      billing_email: Option(String),
      billing_details: Option(String),
    )
pub type AccountUsageCapability {
  AccountUsageCapability(
    included: Option(Int),
    used: Option(Int),
  )
}

Constructors

  • AccountUsageCapability(included: Option(Int), used: Option(Int))
pub type Asset {
  Asset(
    content_type: Option(String),
    size: Option(Int),
    created_at: Option(String),
    name: Option(String),
    creator_id: Option(String),
    url: Option(String),
    state: Option(String),
    visibility: Option(String),
    site_id: Option(String),
    updated_at: Option(String),
    id: Option(String),
    key: Option(String),
  )
}

Constructors

  • Asset(
      content_type: Option(String),
      size: Option(Int),
      created_at: Option(String),
      name: Option(String),
      creator_id: Option(String),
      url: Option(String),
      state: Option(String),
      visibility: Option(String),
      site_id: Option(String),
      updated_at: Option(String),
      id: Option(String),
      key: Option(String),
    )
pub type AssetForm {
  AssetForm(url: Option(String), fields: Option(Nil))
}

Constructors

  • AssetForm(url: Option(String), fields: Option(Nil))
pub type AssetPublicSignature {
  AssetPublicSignature(url: Option(String))
}

Constructors

  • AssetPublicSignature(url: Option(String))
pub type AssetSignature {
  AssetSignature(form: Option(Nil), asset: Option(Nil))
}

Constructors

  • AssetSignature(form: Option(Nil), asset: Option(Nil))
pub type AuditLog {
  AuditLog(
    account_id: Option(String),
    payload: Option(Nil),
    id: Option(String),
  )
}

Constructors

  • AuditLog(
      account_id: Option(String),
      payload: Option(Nil),
      id: Option(String),
    )
pub type Build {
  Build(
    done: Option(Bool),
    error: Option(String),
    created_at: Option(String),
    sha: Option(String),
    deploy_id: Option(String),
    id: Option(String),
  )
}

Constructors

  • Build(
      done: Option(Bool),
      error: Option(String),
      created_at: Option(String),
      sha: Option(String),
      deploy_id: Option(String),
      id: Option(String),
    )
pub type BuildHook {
  BuildHook(
    branch: Option(String),
    created_at: Option(String),
    url: Option(String),
    site_id: Option(String),
    title: Option(String),
    id: Option(String),
  )
}

Constructors

  • BuildHook(
      branch: Option(String),
      created_at: Option(String),
      url: Option(String),
      site_id: Option(String),
      title: Option(String),
      id: Option(String),
    )
pub type BuildHookSetup {
  BuildHookSetup(branch: Option(String), title: Option(String))
}

Constructors

  • BuildHookSetup(branch: Option(String), title: Option(String))
pub type BuildLogMsg {
  BuildLogMsg(
    section: Option(String),
    message: Option(String),
    error: Option(Bool),
  )
}

Constructors

  • BuildLogMsg(
      section: Option(String),
      message: Option(String),
      error: Option(Bool),
    )
pub type BuildSetup {
  BuildSetup(clear_cache: Option(Bool), image: Option(String))
}

Constructors

  • BuildSetup(clear_cache: Option(Bool), image: Option(String))
pub type BuildStatus {
  BuildStatus(
    active: Option(Int),
    pending_concurrency: Option(Int),
    enqueued: Option(Int),
    build_count: Option(Int),
    minutes: Option(Nil),
  )
}

Constructors

  • BuildStatus(
      active: Option(Int),
      pending_concurrency: Option(Int),
      enqueued: Option(Int),
      build_count: Option(Int),
      minutes: Option(Nil),
    )
pub type Deploy {
  Deploy(
    draft: Option(Bool),
    branch: Option(String),
    review_id: Option(Float),
    published_at: Option(String),
    deploy_ssl_url: Option(String),
    commit_url: Option(String),
    review_url: Option(String),
    created_at: Option(String),
    locked: Option(Bool),
    commit_ref: Option(String),
    name: Option(String),
    build_id: Option(String),
    url: Option(String),
    context: Option(String),
    user_id: Option(String),
    error_message: Option(String),
    skipped: Option(Bool),
    state: Option(String),
    site_id: Option(String),
    function_schedules: Option(Nil),
    screenshot_url: Option(String),
    deploy_url: Option(String),
    updated_at: Option(String),
    title: Option(String),
    id: Option(String),
    required_functions: Option(List(String)),
    ssl_url: Option(String),
    framework: Option(String),
    admin_url: Option(String),
    required: Option(List(String)),
  )
}

Constructors

  • Deploy(
      draft: Option(Bool),
      branch: Option(String),
      review_id: Option(Float),
      published_at: Option(String),
      deploy_ssl_url: Option(String),
      commit_url: Option(String),
      review_url: Option(String),
      created_at: Option(String),
      locked: Option(Bool),
      commit_ref: Option(String),
      name: Option(String),
      build_id: Option(String),
      url: Option(String),
      context: Option(String),
      user_id: Option(String),
      error_message: Option(String),
      skipped: Option(Bool),
      state: Option(String),
      site_id: Option(String),
      function_schedules: Option(Nil),
      screenshot_url: Option(String),
      deploy_url: Option(String),
      updated_at: Option(String),
      title: Option(String),
      id: Option(String),
      required_functions: Option(List(String)),
      ssl_url: Option(String),
      framework: Option(String),
      admin_url: Option(String),
      required: Option(List(String)),
    )
pub type DeployFiles {
  DeployFiles(
    draft: Option(Bool),
    branch: Option(String),
    functions_config: Option(Nil),
    function_schedules: Option(Nil),
    files: Option(Nil),
    framework_version: Option(String),
    functions: Option(Nil),
    async: Option(Bool),
    framework: Option(String),
  )
}

Constructors

  • DeployFiles(
      draft: Option(Bool),
      branch: Option(String),
      functions_config: Option(Nil),
      function_schedules: Option(Nil),
      files: Option(Nil),
      framework_version: Option(String),
      functions: Option(Nil),
      async: Option(Bool),
      framework: Option(String),
    )
pub type DeployKey {
  DeployKey(
    public_key: Option(String),
    created_at: Option(String),
    id: Option(String),
  )
}

Constructors

  • DeployKey(
      public_key: Option(String),
      created_at: Option(String),
      id: Option(String),
    )
pub type DeployedBranch {
  DeployedBranch(
    name: Option(String),
    slug: Option(String),
    url: Option(String),
    deploy_id: Option(String),
    id: Option(String),
    ssl_url: Option(String),
  )
}

Constructors

  • DeployedBranch(
      name: Option(String),
      slug: Option(String),
      url: Option(String),
      deploy_id: Option(String),
      id: Option(String),
      ssl_url: Option(String),
    )
pub type DevServer {
  DevServer(
    branch: Option(String),
    live_at: Option(String),
    created_at: Option(String),
    error_at: Option(String),
    url: Option(String),
    done_at: Option(String),
    state: Option(String),
    starting_at: Option(String),
    site_id: Option(String),
    updated_at: Option(String),
    title: Option(String),
    id: Option(String),
  )
}

Constructors

  • DevServer(
      branch: Option(String),
      live_at: Option(String),
      created_at: Option(String),
      error_at: Option(String),
      url: Option(String),
      done_at: Option(String),
      state: Option(String),
      starting_at: Option(String),
      site_id: Option(String),
      updated_at: Option(String),
      title: Option(String),
      id: Option(String),
    )
pub type DevServerHook {
  DevServerHook(
    branch: Option(String),
    created_at: Option(String),
    url: Option(String),
    site_id: Option(String),
    title: Option(String),
    type_: Option(String),
    id: Option(String),
  )
}

Constructors

  • DevServerHook(
      branch: Option(String),
      created_at: Option(String),
      url: Option(String),
      site_id: Option(String),
      title: Option(String),
      type_: Option(String),
      id: Option(String),
    )
pub type DevServerHookSetup {
  DevServerHookSetup(
    branch: Option(String),
    title: Option(String),
    type_: Option(String),
  )
}

Constructors

  • DevServerHookSetup(
      branch: Option(String),
      title: Option(String),
      type_: Option(String),
    )
pub type DnsRecord {
  DnsRecord(
    priority: Option(Int),
    ttl: Option(Int),
    flag: Option(Int),
    value: Option(String),
    hostname: Option(String),
    site_id: Option(String),
    dns_zone_id: Option(String),
    type_: Option(String),
    tag: Option(String),
    id: Option(String),
    managed: Option(Bool),
  )
}

Constructors

  • DnsRecord(
      priority: Option(Int),
      ttl: Option(Int),
      flag: Option(Int),
      value: Option(String),
      hostname: Option(String),
      site_id: Option(String),
      dns_zone_id: Option(String),
      type_: Option(String),
      tag: Option(String),
      id: Option(String),
      managed: Option(Bool),
    )
pub type DnsRecordCreate {
  DnsRecordCreate(
    port: Option(Int),
    priority: Option(Int),
    ttl: Option(Int),
    flag: Option(Int),
    value: Option(String),
    hostname: Option(String),
    weight: Option(Int),
    type_: Option(String),
    tag: Option(String),
  )
}

Constructors

  • DnsRecordCreate(
      port: Option(Int),
      priority: Option(Int),
      ttl: Option(Int),
      flag: Option(Int),
      value: Option(String),
      hostname: Option(String),
      weight: Option(Int),
      type_: Option(String),
      tag: Option(String),
    )
pub type DnsZone {
  DnsZone(
    records: Option(Nil),
    domain: Option(String),
    ipv6_enabled: Option(Bool),
    created_at: Option(String),
    name: Option(String),
    errors: Option(List(String)),
    account_id: Option(String),
    dedicated: Option(Bool),
    user_id: Option(String),
    site_id: Option(String),
    updated_at: Option(String),
    dns_servers: Option(List(String)),
    id: Option(String),
    supported_record_types: Option(List(String)),
    account_name: Option(String),
    account_slug: Option(String),
  )
}

Constructors

  • DnsZone(
      records: Option(Nil),
      domain: Option(String),
      ipv6_enabled: Option(Bool),
      created_at: Option(String),
      name: Option(String),
      errors: Option(List(String)),
      account_id: Option(String),
      dedicated: Option(Bool),
      user_id: Option(String),
      site_id: Option(String),
      updated_at: Option(String),
      dns_servers: Option(List(String)),
      id: Option(String),
      supported_record_types: Option(List(String)),
      account_name: Option(String),
      account_slug: Option(String),
    )
pub type DnsZoneSetup {
  DnsZoneSetup(
    name: Option(String),
    site_id: Option(String),
    account_slug: Option(String),
  )
}

Constructors

  • DnsZoneSetup(
      name: Option(String),
      site_id: Option(String),
      account_slug: Option(String),
    )
pub type EnvVar {
  EnvVar(
    values: Option(Nil),
    is_secret: Option(Bool),
    updated_at: Option(String),
    updated_by: Option(Nil),
    scopes: Option(List(String)),
    key: Option(String),
  )
}

Constructors

  • EnvVar(
      values: Option(Nil),
      is_secret: Option(Bool),
      updated_at: Option(String),
      updated_by: Option(Nil),
      scopes: Option(List(String)),
      key: Option(String),
    )
pub type EnvVarUser {
  EnvVarUser(
    avatar_url: Option(String),
    id: Option(String),
    full_name: Option(String),
    email: Option(String),
  )
}

Constructors

  • EnvVarUser(
      avatar_url: Option(String),
      id: Option(String),
      full_name: Option(String),
      email: Option(String),
    )
pub type EnvVarValue {
  EnvVarValue(
    context: Option(String),
    value: Option(String),
    context_parameter: Option(String),
    id: Option(String),
  )
}

Constructors

  • EnvVarValue(
      context: Option(String),
      value: Option(String),
      context_parameter: Option(String),
      id: Option(String),
    )
pub type Error {
  Error(message: Option(String), code: Option(Int))
}

Constructors

  • Error(message: Option(String), code: Option(Int))
pub type ExcludedFunctionRoute {
  ExcludedFunctionRoute(
    literal: Option(String),
    pattern: Option(String),
    expression: Option(String),
  )
}

Constructors

  • ExcludedFunctionRoute(
      literal: Option(String),
      pattern: Option(String),
      expression: Option(String),
    )
pub type File {
  File(
    size: Option(Int),
    path: Option(String),
    mime_type: Option(String),
    sha: Option(String),
    id: Option(String),
  )
}

Constructors

  • File(
      size: Option(Int),
      path: Option(String),
      mime_type: Option(String),
      sha: Option(String),
      id: Option(String),
    )
pub type Form {
  Form(
    created_at: Option(String),
    name: Option(String),
    paths: Option(List(String)),
    site_id: Option(String),
    fields: Option(Nil),
    id: Option(String),
    submission_count: Option(Int),
  )
}

Constructors

  • Form(
      created_at: Option(String),
      name: Option(String),
      paths: Option(List(String)),
      site_id: Option(String),
      fields: Option(Nil),
      id: Option(String),
      submission_count: Option(Int),
    )
pub type Function {
  Function(
    name: Option(String),
    sha: Option(String),
    id: Option(String),
  )
}

Constructors

  • Function(
      name: Option(String),
      sha: Option(String),
      id: Option(String),
    )
pub type FunctionConfig {
  FunctionConfig(
    priority: Option(Int),
    display_name: Option(String),
    routes: Option(Nil),
    generator: Option(String),
    traffic_rules: Option(Nil),
    build_data: Option(Nil),
    excluded_routes: Option(Nil),
  )
}

Constructors

  • FunctionConfig(
      priority: Option(Int),
      display_name: Option(String),
      routes: Option(Nil),
      generator: Option(String),
      traffic_rules: Option(Nil),
      build_data: Option(Nil),
      excluded_routes: Option(Nil),
    )
pub type FunctionRoute {
  FunctionRoute(
    literal: Option(String),
    pattern: Option(String),
    methods: Option(List(String)),
    expression: Option(String),
    prefer_static: Option(Bool),
  )
}

Constructors

  • FunctionRoute(
      literal: Option(String),
      pattern: Option(String),
      methods: Option(List(String)),
      expression: Option(String),
      prefer_static: Option(Bool),
    )
pub type FunctionSchedule {
  FunctionSchedule(name: Option(String), cron: Option(String))
}

Constructors

  • FunctionSchedule(name: Option(String), cron: Option(String))
pub type Hook {
  Hook(
    created_at: Option(String),
    data: Option(Nil),
    site_id: Option(String),
    updated_at: Option(String),
    event: Option(String),
    type_: Option(String),
    id: Option(String),
    disabled: Option(Bool),
  )
}

Constructors

  • Hook(
      created_at: Option(String),
      data: Option(Nil),
      site_id: Option(String),
      updated_at: Option(String),
      event: Option(String),
      type_: Option(String),
      id: Option(String),
      disabled: Option(Bool),
    )
pub type HookType {
  HookType(
    name: Option(String),
    events: Option(List(String)),
    fields: Option(Nil),
  )
}

Constructors

  • HookType(
      name: Option(String),
      events: Option(List(String)),
      fields: Option(Nil),
    )
pub type Member {
  Member(
    role: Option(String),
    avatar: Option(String),
    id: Option(String),
    full_name: Option(String),
    email: Option(String),
  )
}

Constructors

  • Member(
      role: Option(String),
      avatar: Option(String),
      id: Option(String),
      full_name: Option(String),
      email: Option(String),
    )
pub type Metadata {
  Metadata
}

Constructors

  • Metadata
pub type PaymentMethod {
  PaymentMethod(
    method_name: Option(String),
    created_at: Option(String),
    data: Option(Nil),
    state: Option(String),
    updated_at: Option(String),
    type_: Option(String),
    id: Option(String),
  )
}

Constructors

  • PaymentMethod(
      method_name: Option(String),
      created_at: Option(String),
      data: Option(Nil),
      state: Option(String),
      updated_at: Option(String),
      type_: Option(String),
      id: Option(String),
    )
pub type Plugin {
  Plugin(package: Option(String), pinned_version: Option(String))
}

Constructors

  • Plugin(package: Option(String), pinned_version: Option(String))
pub type PluginParams {
  PluginParams(pinned_version: Option(String))
}

Constructors

  • PluginParams(pinned_version: Option(String))
pub type PluginRun {
  PluginRun(
    package: Option(String),
    summary: Option(String),
    reporting_event: Option(String),
    text: Option(String),
    state: Option(String),
    deploy_id: Option(String),
    version: Option(String),
    title: Option(String),
  )
}

Constructors

  • PluginRun(
      package: Option(String),
      summary: Option(String),
      reporting_event: Option(String),
      text: Option(String),
      state: Option(String),
      deploy_id: Option(String),
      version: Option(String),
      title: Option(String),
    )
pub type PluginRunData {
  PluginRunData(
    package: Option(String),
    summary: Option(String),
    reporting_event: Option(String),
    text: Option(String),
    state: Option(String),
    version: Option(String),
    title: Option(String),
  )
}

Constructors

  • PluginRunData(
      package: Option(String),
      summary: Option(String),
      reporting_event: Option(String),
      text: Option(String),
      state: Option(String),
      version: Option(String),
      title: Option(String),
    )
pub type Purge {
  Purge(
    site_slug: Option(String),
    site_id: Option(String),
    cache_tags: Option(List(String)),
  )
}

Constructors

  • Purge(
      site_slug: Option(String),
      site_id: Option(String),
      cache_tags: Option(List(String)),
    )
pub type RepoInfo {
  RepoInfo(
    installation_id: Option(Int),
    stop_builds: Option(Bool),
    repo_url: Option(String),
    allowed_branches: Option(List(String)),
    public_repo: Option(Bool),
    functions_dir: Option(String),
    private_logs: Option(Bool),
    dir: Option(String),
    env: Option(Nil),
    repo_branch: Option(String),
    provider: Option(String),
    repo_path: Option(String),
    deploy_key_id: Option(String),
    cmd: Option(String),
    id: Option(Int),
  )
}

Constructors

  • RepoInfo(
      installation_id: Option(Int),
      stop_builds: Option(Bool),
      repo_url: Option(String),
      allowed_branches: Option(List(String)),
      public_repo: Option(Bool),
      functions_dir: Option(String),
      private_logs: Option(Bool),
      dir: Option(String),
      env: Option(Nil),
      repo_branch: Option(String),
      provider: Option(String),
      repo_path: Option(String),
      deploy_key_id: Option(String),
      cmd: Option(String),
      id: Option(Int),
    )
pub type Service {
  Service(
    environments: Option(List(String)),
    created_at: Option(String),
    name: Option(String),
    slug: Option(String),
    service_path: Option(String),
    updated_at: Option(String),
    tags: Option(List(String)),
    icon: Option(String),
    events: Option(Nil),
    long_description: Option(String),
    id: Option(String),
    description: Option(String),
    manifest_url: Option(String),
  )
}

Constructors

  • Service(
      environments: Option(List(String)),
      created_at: Option(String),
      name: Option(String),
      slug: Option(String),
      service_path: Option(String),
      updated_at: Option(String),
      tags: Option(List(String)),
      icon: Option(String),
      events: Option(Nil),
      long_description: Option(String),
      id: Option(String),
      description: Option(String),
      manifest_url: Option(String),
    )
pub type ServiceInstance {
  ServiceInstance(
    config: Option(Nil),
    created_at: Option(String),
    external_attributes: Option(Nil),
    env: Option(Nil),
    url: Option(String),
    service_path: Option(String),
    service_name: Option(String),
    service_slug: Option(String),
    snippets: Option(Nil),
    updated_at: Option(String),
    auth_url: Option(String),
    id: Option(String),
  )
}

Constructors

  • ServiceInstance(
      config: Option(Nil),
      created_at: Option(String),
      external_attributes: Option(Nil),
      env: Option(Nil),
      url: Option(String),
      service_path: Option(String),
      service_name: Option(String),
      service_slug: Option(String),
      snippets: Option(Nil),
      updated_at: Option(String),
      auth_url: Option(String),
      id: Option(String),
    )
pub type Site {
  Site(
    domain_aliases: Option(List(String)),
    deploy_preview_custom_domain: Option(String),
    session_id: Option(String),
    id_domain: Option(String),
    notification_email: Option(String),
    managed_dns: Option(Bool),
    plan: Option(String),
    build_image: Option(String),
    created_at: Option(String),
    name: Option(String),
    ssl: Option(Bool),
    account_id: Option(String),
    url: Option(String),
    user_id: Option(String),
    processing_settings: Option(Nil),
    state: Option(String),
    custom_domain: Option(String),
    build_settings: Option(Nil),
    screenshot_url: Option(String),
    capabilities: Option(Nil),
    deploy_url: Option(String),
    updated_at: Option(String),
    branch_deploy_custom_domain: Option(String),
    default_hooks_data: Option(Nil),
    functions_region: Option(String),
    published_deploy: Option(Nil),
    force_ssl: Option(Bool),
    prerender: Option(String),
    id: Option(String),
    deploy_hook: Option(String),
    password: Option(String),
    ssl_url: Option(String),
    account_name: Option(String),
    account_slug: Option(String),
    git_provider: Option(String),
    admin_url: Option(String),
  )
}

Constructors

  • Site(
      domain_aliases: Option(List(String)),
      deploy_preview_custom_domain: Option(String),
      session_id: Option(String),
      id_domain: Option(String),
      notification_email: Option(String),
      managed_dns: Option(Bool),
      plan: Option(String),
      build_image: Option(String),
      created_at: Option(String),
      name: Option(String),
      ssl: Option(Bool),
      account_id: Option(String),
      url: Option(String),
      user_id: Option(String),
      processing_settings: Option(Nil),
      state: Option(String),
      custom_domain: Option(String),
      build_settings: Option(Nil),
      screenshot_url: Option(String),
      capabilities: Option(Nil),
      deploy_url: Option(String),
      updated_at: Option(String),
      branch_deploy_custom_domain: Option(String),
      default_hooks_data: Option(Nil),
      functions_region: Option(String),
      published_deploy: Option(Nil),
      force_ssl: Option(Bool),
      prerender: Option(String),
      id: Option(String),
      deploy_hook: Option(String),
      password: Option(String),
      ssl_url: Option(String),
      account_name: Option(String),
      account_slug: Option(String),
      git_provider: Option(String),
      admin_url: Option(String),
    )
pub type SiteFunction {
  SiteFunction(
    branch: Option(String),
    created_at: Option(String),
    provider: Option(String),
    log_type: Option(String),
    id: Option(String),
    functions: Option(Nil),
  )
}

Constructors

  • SiteFunction(
      branch: Option(String),
      created_at: Option(String),
      provider: Option(String),
      log_type: Option(String),
      id: Option(String),
      functions: Option(Nil),
    )
pub type SiteSetup {
  SiteSetup(
    domain_aliases: Option(List(String)),
    deploy_preview_custom_domain: Option(String),
    session_id: Option(String),
    id_domain: Option(String),
    notification_email: Option(String),
    managed_dns: Option(Bool),
    plan: Option(String),
    build_image: Option(String),
    created_at: Option(String),
    name: Option(String),
    ssl: Option(Bool),
    account_id: Option(String),
    url: Option(String),
    user_id: Option(String),
    processing_settings: Option(Nil),
    state: Option(String),
    custom_domain: Option(String),
    repo: Option(Nil),
    build_settings: Option(Nil),
    screenshot_url: Option(String),
    capabilities: Option(Nil),
    deploy_url: Option(String),
    updated_at: Option(String),
    branch_deploy_custom_domain: Option(String),
    default_hooks_data: Option(Nil),
    functions_region: Option(String),
    published_deploy: Option(Nil),
    force_ssl: Option(Bool),
    prerender: Option(String),
    id: Option(String),
    deploy_hook: Option(String),
    password: Option(String),
    ssl_url: Option(String),
    account_name: Option(String),
    account_slug: Option(String),
    git_provider: Option(String),
    admin_url: Option(String),
  )
}

Constructors

  • SiteSetup(
      domain_aliases: Option(List(String)),
      deploy_preview_custom_domain: Option(String),
      session_id: Option(String),
      id_domain: Option(String),
      notification_email: Option(String),
      managed_dns: Option(Bool),
      plan: Option(String),
      build_image: Option(String),
      created_at: Option(String),
      name: Option(String),
      ssl: Option(Bool),
      account_id: Option(String),
      url: Option(String),
      user_id: Option(String),
      processing_settings: Option(Nil),
      state: Option(String),
      custom_domain: Option(String),
      repo: Option(Nil),
      build_settings: Option(Nil),
      screenshot_url: Option(String),
      capabilities: Option(Nil),
      deploy_url: Option(String),
      updated_at: Option(String),
      branch_deploy_custom_domain: Option(String),
      default_hooks_data: Option(Nil),
      functions_region: Option(String),
      published_deploy: Option(Nil),
      force_ssl: Option(Bool),
      prerender: Option(String),
      id: Option(String),
      deploy_hook: Option(String),
      password: Option(String),
      ssl_url: Option(String),
      account_name: Option(String),
      account_slug: Option(String),
      git_provider: Option(String),
      admin_url: Option(String),
    )
pub type SniCertificate {
  SniCertificate(
    created_at: Option(String),
    domains: Option(List(String)),
    state: Option(String),
    updated_at: Option(String),
    expires_at: Option(String),
  )
}

Constructors

  • SniCertificate(
      created_at: Option(String),
      domains: Option(List(String)),
      state: Option(String),
      updated_at: Option(String),
      expires_at: Option(String),
    )
pub type Snippet {
  Snippet(
    general_position: Option(String),
    general: Option(String),
    site_id: Option(String),
    goal: Option(String),
    goal_position: Option(String),
    title: Option(String),
    id: Option(Int),
  )
}

Constructors

  • Snippet(
      general_position: Option(String),
      general: Option(String),
      site_id: Option(String),
      goal: Option(String),
      goal_position: Option(String),
      title: Option(String),
      id: Option(Int),
    )
pub type SplitTest {
  SplitTest(
    path: Option(String),
    active: Option(Bool),
    created_at: Option(String),
    name: Option(String),
    branches: Option(Nil),
    site_id: Option(String),
    updated_at: Option(String),
    id: Option(String),
    unpublished_at: Option(String),
  )
}

Constructors

  • SplitTest(
      path: Option(String),
      active: Option(Bool),
      created_at: Option(String),
      name: Option(String),
      branches: Option(Nil),
      site_id: Option(String),
      updated_at: Option(String),
      id: Option(String),
      unpublished_at: Option(String),
    )
pub type SplitTestSetup {
  SplitTestSetup(branch_tests: Option(Nil))
}

Constructors

  • SplitTestSetup(branch_tests: Option(Nil))
pub type Submission {
  Submission(
    body: Option(String),
    summary: Option(String),
    number: Option(Int),
    created_at: Option(String),
    data: Option(Nil),
    name: Option(String),
    last_name: Option(String),
    site_url: Option(String),
    first_name: Option(String),
    id: Option(String),
    email: Option(String),
    company: Option(String),
  )
}

Constructors

  • Submission(
      body: Option(String),
      summary: Option(String),
      number: Option(Int),
      created_at: Option(String),
      data: Option(Nil),
      name: Option(String),
      last_name: Option(String),
      site_url: Option(String),
      first_name: Option(String),
      id: Option(String),
      email: Option(String),
      company: Option(String),
    )
pub type Ticket {
  Ticket(
    created_at: Option(String),
    client_id: Option(String),
    id: Option(String),
    authorized: Option(Bool),
  )
}

Constructors

  • Ticket(
      created_at: Option(String),
      client_id: Option(String),
      id: Option(String),
      authorized: Option(Bool),
    )
pub type TrafficRulesAggregateConfig {
  TrafficRulesAggregateConfig(keys: Option(Nil))
}

Constructors

  • TrafficRulesAggregateConfig(keys: Option(Nil))
pub type TrafficRulesConfig {
  TrafficRulesConfig(action: Option(Nil))
}

Constructors

  • TrafficRulesConfig(action: Option(Nil))
pub type TrafficRulesRateLimitConfig {
  TrafficRulesRateLimitConfig(
    window_limit: Option(Int),
    algorithm: Option(String),
    window_size: Option(Int),
  )
}

Constructors

  • TrafficRulesRateLimitConfig(
      window_limit: Option(Int),
      algorithm: Option(String),
      window_size: Option(Int),
    )
pub type User {
  User(
    last_login: Option(String),
    avatar_url: Option(String),
    created_at: Option(String),
    login_providers: Option(List(String)),
    affiliate_id: Option(String),
    uid: Option(String),
    onboarding_progress: Option(Nil),
    site_count: Option(Int),
    id: Option(String),
    full_name: Option(String),
    email: Option(String),
  )
}

Constructors

  • User(
      last_login: Option(String),
      avatar_url: Option(String),
      created_at: Option(String),
      login_providers: Option(List(String)),
      affiliate_id: Option(String),
      uid: Option(String),
      onboarding_progress: Option(Nil),
      site_count: Option(Int),
      id: Option(String),
      full_name: Option(String),
      email: Option(String),
    )

Functions

pub fn decode_access_token(
  raw: Dynamic,
) -> Result(AccessToken, List(DecodeError))
pub fn decode_account_add_member_setup(
  raw: Dynamic,
) -> Result(AccountAddMemberSetup, List(DecodeError))
pub fn decode_account_membership(
  raw: Dynamic,
) -> Result(AccountMembership, List(DecodeError))
pub fn decode_account_setup(
  raw: Dynamic,
) -> Result(AccountSetup, List(DecodeError))
pub fn decode_account_type(
  raw: Dynamic,
) -> Result(AccountType, List(DecodeError))
pub fn decode_account_update_member_setup(
  raw: Dynamic,
) -> Result(AccountUpdateMemberSetup, List(DecodeError))
pub fn decode_account_update_setup(
  raw: Dynamic,
) -> Result(AccountUpdateSetup, List(DecodeError))
pub fn decode_account_usage_capability(
  raw: Dynamic,
) -> Result(AccountUsageCapability, List(DecodeError))
pub fn decode_asset(
  raw: Dynamic,
) -> Result(Asset, List(DecodeError))
pub fn decode_asset_form(
  raw: Dynamic,
) -> Result(AssetForm, List(DecodeError))
pub fn decode_asset_public_signature(
  raw: Dynamic,
) -> Result(AssetPublicSignature, List(DecodeError))
pub fn decode_asset_signature(
  raw: Dynamic,
) -> Result(AssetSignature, List(DecodeError))
pub fn decode_audit_log(
  raw: Dynamic,
) -> Result(AuditLog, List(DecodeError))
pub fn decode_build(
  raw: Dynamic,
) -> Result(Build, List(DecodeError))
pub fn decode_build_hook(
  raw: Dynamic,
) -> Result(BuildHook, List(DecodeError))
pub fn decode_build_hook_setup(
  raw: Dynamic,
) -> Result(BuildHookSetup, List(DecodeError))
pub fn decode_build_log_msg(
  raw: Dynamic,
) -> Result(BuildLogMsg, List(DecodeError))
pub fn decode_build_setup(
  raw: Dynamic,
) -> Result(BuildSetup, List(DecodeError))
pub fn decode_build_status(
  raw: Dynamic,
) -> Result(BuildStatus, List(DecodeError))
pub fn decode_deploy(
  raw: Dynamic,
) -> Result(Deploy, List(DecodeError))
pub fn decode_deploy_files(
  raw: Dynamic,
) -> Result(DeployFiles, List(DecodeError))
pub fn decode_deploy_key(
  raw: Dynamic,
) -> Result(DeployKey, List(DecodeError))
pub fn decode_deployed_branch(
  raw: Dynamic,
) -> Result(DeployedBranch, List(DecodeError))
pub fn decode_dev_server(
  raw: Dynamic,
) -> Result(DevServer, List(DecodeError))
pub fn decode_dev_server_hook(
  raw: Dynamic,
) -> Result(DevServerHook, List(DecodeError))
pub fn decode_dev_server_hook_setup(
  raw: Dynamic,
) -> Result(DevServerHookSetup, List(DecodeError))
pub fn decode_dns_record(
  raw: Dynamic,
) -> Result(DnsRecord, List(DecodeError))
pub fn decode_dns_record_create(
  raw: Dynamic,
) -> Result(DnsRecordCreate, List(DecodeError))
pub fn decode_dns_zone(
  raw: Dynamic,
) -> Result(DnsZone, List(DecodeError))
pub fn decode_dns_zone_setup(
  raw: Dynamic,
) -> Result(DnsZoneSetup, List(DecodeError))
pub fn decode_env_var(
  raw: Dynamic,
) -> Result(EnvVar, List(DecodeError))
pub fn decode_env_var_user(
  raw: Dynamic,
) -> Result(EnvVarUser, List(DecodeError))
pub fn decode_env_var_value(
  raw: Dynamic,
) -> Result(EnvVarValue, List(DecodeError))
pub fn decode_error(
  raw: Dynamic,
) -> Result(Error, List(DecodeError))
pub fn decode_excluded_function_route(
  raw: Dynamic,
) -> Result(ExcludedFunctionRoute, List(DecodeError))
pub fn decode_file(
  raw: Dynamic,
) -> Result(File, List(DecodeError))
pub fn decode_form(
  raw: Dynamic,
) -> Result(Form, List(DecodeError))
pub fn decode_function(
  raw: Dynamic,
) -> Result(Function, List(DecodeError))
pub fn decode_function_config(
  raw: Dynamic,
) -> Result(FunctionConfig, List(DecodeError))
pub fn decode_function_route(
  raw: Dynamic,
) -> Result(FunctionRoute, List(DecodeError))
pub fn decode_function_schedule(
  raw: Dynamic,
) -> Result(FunctionSchedule, List(DecodeError))
pub fn decode_hook(
  raw: Dynamic,
) -> Result(Hook, List(DecodeError))
pub fn decode_hook_type(
  raw: Dynamic,
) -> Result(HookType, List(DecodeError))
pub fn decode_member(
  raw: Dynamic,
) -> Result(Member, List(DecodeError))
pub fn decode_metadata(
  raw: Dynamic,
) -> Result(Metadata, List(DecodeError))
pub fn decode_payment_method(
  raw: Dynamic,
) -> Result(PaymentMethod, List(DecodeError))
pub fn decode_plugin(
  raw: Dynamic,
) -> Result(Plugin, List(DecodeError))
pub fn decode_plugin_params(
  raw: Dynamic,
) -> Result(PluginParams, List(DecodeError))
pub fn decode_plugin_run(
  raw: Dynamic,
) -> Result(PluginRun, List(DecodeError))
pub fn decode_plugin_run_data(
  raw: Dynamic,
) -> Result(PluginRunData, List(DecodeError))
pub fn decode_purge(
  raw: Dynamic,
) -> Result(Purge, List(DecodeError))
pub fn decode_repo_info(
  raw: Dynamic,
) -> Result(RepoInfo, List(DecodeError))
pub fn decode_service(
  raw: Dynamic,
) -> Result(Service, List(DecodeError))
pub fn decode_service_instance(
  raw: Dynamic,
) -> Result(ServiceInstance, List(DecodeError))
pub fn decode_site(
  raw: Dynamic,
) -> Result(Site, List(DecodeError))
pub fn decode_site_function(
  raw: Dynamic,
) -> Result(SiteFunction, List(DecodeError))
pub fn decode_site_setup(
  raw: Dynamic,
) -> Result(SiteSetup, List(DecodeError))
pub fn decode_sni_certificate(
  raw: Dynamic,
) -> Result(SniCertificate, List(DecodeError))
pub fn decode_snippet(
  raw: Dynamic,
) -> Result(Snippet, List(DecodeError))
pub fn decode_split_test(
  raw: Dynamic,
) -> Result(SplitTest, List(DecodeError))
pub fn decode_split_test_setup(
  raw: Dynamic,
) -> Result(SplitTestSetup, List(DecodeError))
pub fn decode_submission(
  raw: Dynamic,
) -> Result(Submission, List(DecodeError))
pub fn decode_ticket(
  raw: Dynamic,
) -> Result(Ticket, List(DecodeError))
pub fn decode_traffic_rules_aggregate_config(
  raw: Dynamic,
) -> Result(TrafficRulesAggregateConfig, List(DecodeError))
pub fn decode_traffic_rules_config(
  raw: Dynamic,
) -> Result(TrafficRulesConfig, List(DecodeError))
pub fn decode_traffic_rules_rate_limit_config(
  raw: Dynamic,
) -> Result(TrafficRulesRateLimitConfig, List(DecodeError))
pub fn decode_user(
  raw: Dynamic,
) -> Result(User, List(DecodeError))
Search Document