def idempotency_key=(idempotency_key)
      if idempotency_key.nil?
        fail ArgumentError, "idempotency_key cannot be nil"
      end

      if idempotency_key.to_s.length > 192
        fail ArgumentError, "invalid value for 'idempotency_key', the character length must be smaller than or equal to 192."
      end

      if idempotency_key.to_s.length < 1
        fail ArgumentError, "invalid value for 'idempotency_key', the character length must be great than or equal to 1."
      end

      @idempotency_key = idempotency_key
    end
def idempotency_key=(idempotency_key)
      if idempotency_key.nil?
        fail ArgumentError, "idempotency_key cannot be nil"
      end

      if idempotency_key.to_s.length > 192
        fail ArgumentError, "invalid value for 'idempotency_key', the character length must be smaller than or equal to 192."
      end

      if idempotency_key.to_s.length < 1
        fail ArgumentError, "invalid value for 'idempotency_key', the character length must be great than or equal to 1."
      end

      @idempotency_key = idempotency_key
    end
Custom attribute writer method with validation
 @param [Object] idempotency_key Value to be assigned