lib/stackone/models/shared/createtimeoffresult.rb in stackone_client-0.0.1 vs lib/stackone/models/shared/createtimeoffresult.rb in stackone_client-0.0.2

- old
+ new

@@ -7,18 +7,18 @@ require 'faraday' module StackOne module Shared - class CreateTimeOffResult < StackOne::Utils::FieldAugmented + class CreateTimeOffResult < ::StackOne::Utils::FieldAugmented extend T::Sig - field :message, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('message') } } + field :message, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message') } } - field :status_code, Float, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('statusCode') } } + field :status_code, Float, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('statusCode') } } - field :timestamp, DateTime, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('timestamp'), 'decoder': Utils.datetime_from_iso_format(false) } } + field :timestamp, DateTime, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('timestamp'), 'decoder': Utils.datetime_from_iso_format(false) } } sig { params(message: String, status_code: Float, timestamp: DateTime).void } def initialize(message: nil, status_code: nil, timestamp: nil) @message = message