Skip to content

Commit

Permalink
chore: generate client api
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellmueller committed Feb 7, 2025
1 parent 2cf0cd2 commit 31de967
Showing 1 changed file with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@ export interface RecreationResourceDto {
* @memberof RecreationResourceDto
*/
recreation_status: RecreationStatusDto;

/**
* Code representing a specific feature associated with the recreation resource
* @type {string}
* @memberof RecreationResourceDto
*/
rec_resource_type: string;
}

Expand Down Expand Up @@ -100,6 +104,11 @@ export function instanceOfRecreationResourceDto(
value['recreation_status'] === undefined
)
return false;
if (
!('rec_resource_type' in value) ||
value['rec_resource_type'] === undefined
)
return false;
return true;
}

Expand All @@ -120,12 +129,12 @@ export function RecreationResourceDtoFromJSONTyped(
rec_resource_id: json['rec_resource_id'],
name: json['name'],
description: json['description'],
rec_resource_type: json['rec_resource_type'],
closest_community: json['closest_community'],
recreation_activity: (json['recreation_activity'] as Array<any>).map(
RecreationActivityDtoFromJSON,
),
recreation_status: RecreationStatusDtoFromJSON(json['recreation_status']),
rec_resource_type: json['rec_resource_type'],
};
}

Expand All @@ -150,5 +159,6 @@ export function RecreationResourceDtoToJSONTyped(
RecreationActivityDtoToJSON,
),
recreation_status: RecreationStatusDtoToJSON(value['recreation_status']),
rec_resource_type: value['rec_resource_type'],
};
}

0 comments on commit 31de967

Please sign in to comment.