Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-03-17 21:06:24.773354",
"spec_repo_commit": "2dfddc18"
"regenerated": "2025-03-18 18:57:53.011554",
"spec_repo_commit": "8b9cffb1"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-03-17 21:06:24.789125",
"spec_repo_commit": "2dfddc18"
"regenerated": "2025-03-18 18:57:53.027622",
"spec_repo_commit": "8b9cffb1"
}
}
}
14 changes: 14 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11968,7 +11968,10 @@ components:
properties:
rawSchema:
description: Schema from user input in base64 encoding.
example: ''
type: string
required:
- rawSchema
type: object
EntityResponseIncludedRelatedEntity:
description: Included related entity.
Expand All @@ -11989,6 +11992,7 @@ components:
properties:
kind:
description: Entity kind.
example: ''
type: string
name:
description: Entity name.
Expand All @@ -11999,6 +12003,8 @@ components:
type:
description: Entity relation type to the associated entity.
type: string
required:
- kind
type: object
EntityResponseIncludedRelatedEntityMeta:
description: Included related entity meta.
Expand Down Expand Up @@ -12036,7 +12042,10 @@ components:
type: string
title:
description: Incident title.
example: ''
type: string
required:
- title
type: object
EntityResponseIncludedRelatedOncallAttributes:
description: Included related oncall attributes.
Expand All @@ -12045,7 +12054,10 @@ components:
$ref: '#/components/schemas/EntityResponseIncludedRelatedOncallEscalations'
provider:
description: Oncall provider.
example: ''
type: string
required:
- provider
type: object
EntityResponseIncludedRelatedOncallEscalationItem:
description: Oncall escalation.
Expand Down Expand Up @@ -12083,6 +12095,8 @@ components:
properties:
schema:
$ref: '#/components/schemas/EntityV3'
required:
- schema
type: object
EntityResponseMeta:
description: Entity metadata.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class EntityResponseIncludedRawSchemaAttributes
include BaseGenericModel

# Schema from user input in base64 encoding.
attr_accessor :raw_schema
attr_reader :raw_schema

attr_accessor :additional_properties

Expand Down Expand Up @@ -65,6 +65,24 @@ def initialize(attributes = {})
end
end

# Check to see if the all the properties in the model are valid
# @return true if the model is valid
# @!visibility private
def valid?
return false if @raw_schema.nil?
true
end

# Custom attribute writer method with validation
# @param raw_schema [Object] Object to be assigned
# @!visibility private
def raw_schema=(raw_schema)
if raw_schema.nil?
fail ArgumentError, 'invalid value for "raw_schema", raw_schema cannot be nil.'
end
@raw_schema = raw_schema
end

# Returns the object in the form of hash, with additionalProperties support.
# @return [Hash] Returns the object in the form of hash
# @!visibility private
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class EntityResponseIncludedRelatedEntityAttributes
include BaseGenericModel

# Entity kind.
attr_accessor :kind
attr_reader :kind

# Entity name.
attr_accessor :name
Expand Down Expand Up @@ -92,6 +92,24 @@ def initialize(attributes = {})
end
end

# Check to see if the all the properties in the model are valid
# @return true if the model is valid
# @!visibility private
def valid?
return false if @kind.nil?
true
end

# Custom attribute writer method with validation
# @param kind [Object] Object to be assigned
# @!visibility private
def kind=(kind)
if kind.nil?
fail ArgumentError, 'invalid value for "kind", kind cannot be nil.'
end
@kind = kind
end

# Returns the object in the form of hash, with additionalProperties support.
# @return [Hash] Returns the object in the form of hash
# @!visibility private
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class EntityResponseIncludedRelatedIncidentAttributes
attr_accessor :status

# Incident title.
attr_accessor :title
attr_reader :title

attr_accessor :additional_properties

Expand Down Expand Up @@ -101,6 +101,24 @@ def initialize(attributes = {})
end
end

# Check to see if the all the properties in the model are valid
# @return true if the model is valid
# @!visibility private
def valid?
return false if @title.nil?
true
end

# Custom attribute writer method with validation
# @param title [Object] Object to be assigned
# @!visibility private
def title=(title)
if title.nil?
fail ArgumentError, 'invalid value for "title", title cannot be nil.'
end
@title = title
end

# Returns the object in the form of hash, with additionalProperties support.
# @return [Hash] Returns the object in the form of hash
# @!visibility private
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class EntityResponseIncludedRelatedOncallAttributes
attr_accessor :escalations

# Oncall provider.
attr_accessor :provider
attr_reader :provider

attr_accessor :additional_properties

Expand Down Expand Up @@ -76,6 +76,24 @@ def initialize(attributes = {})
end
end

# Check to see if the all the properties in the model are valid
# @return true if the model is valid
# @!visibility private
def valid?
return false if @provider.nil?
true
end

# Custom attribute writer method with validation
# @param provider [Object] Object to be assigned
# @!visibility private
def provider=(provider)
if provider.nil?
fail ArgumentError, 'invalid value for "provider", provider cannot be nil.'
end
@provider = provider
end

# Returns the object in the form of hash, with additionalProperties support.
# @return [Hash] Returns the object in the form of hash
# @!visibility private
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class EntityResponseIncludedSchemaAttributes
include BaseGenericModel

# Entity schema v3.
attr_accessor :schema
attr_reader :schema

attr_accessor :additional_properties

Expand Down Expand Up @@ -65,6 +65,24 @@ def initialize(attributes = {})
end
end

# Check to see if the all the properties in the model are valid
# @return true if the model is valid
# @!visibility private
def valid?
return false if @schema.nil?
true
end

# Custom attribute writer method with validation
# @param schema [Object] Object to be assigned
# @!visibility private
def schema=(schema)
if schema.nil?
fail ArgumentError, 'invalid value for "schema", schema cannot be nil.'
end
@schema = schema
end

# Returns the object in the form of hash, with additionalProperties support.
# @return [Hash] Returns the object in the form of hash
# @!visibility private
Expand Down
Loading