import { File } from '../mslib/File'
import { OpResult } from '../mslib/OpResult'

export namespace AdMgtGetAdDetailServiceDeclare {
        export namespace $parameters {
            export interface RequestParam{
                adInfoId?: string
            }


        }
        export namespace $results {
            export interface Data{
                id?: string
                name?: string
                partner?: number
                description?: string
                url?: string
                createTimestamp?: number
                creator?: string
                updateTimestamp?: number
                updator?: string
                materialInfos?: Array<MaterialInfo>
            }


            export interface MaterialInfo{
                id?: string
                name?: string
                materialDeatils?: Array<MaterialDeatil>
                styleInfo?: StyleInfo
            }


            export interface MaterialDeatil{
                id?: string
                type?: number
                value?: string
            }


            export interface StyleInfo{
                id?: string
                adPositionType?: number
                name?: string
                width?: number
                height?: number
            }


        }



    export type Parameters = $parameters.RequestParam

    export type Result = OpResult<$results.Data>
}

export type Parameters = AdMgtGetAdDetailServiceDeclare.Parameters
export type Result = AdMgtGetAdDetailServiceDeclare.Result
